Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(linux): the rows of your own AI server in Settings › AI Service line up on the left instead of floating in the middle

wquguru60adf4c74966
diff --git a/linux/cicada/app/settings_window.py b/linux/cicada/app/settings_window.py
index 054c85e..d1e9126 100644
--- a/linux/cicada/app/settings_window.py
+++ b/linux/cicada/app/settings_window.py
@@ -663,8 +663,9 @@ class SettingsWindow(Gtk.Window):
trailing = ui.text("", 12, "tertiary", wrap=False, ellipsize=False)
chevron = ui.icon("pan-end-symbolic", 12)
left = ui.vbox(2, ui.text(title, 13, "ink", wrap=False), detail)
- row = ui.hbox(10, dot, left)
- left.set_hexpand(True)
+ # The middle takes the room left over and keeps its text at the start (not centred in it).
+ row = ui.hbox(10, dot)
+ row.pack_start(left, True, True, 0)
row.pack_end(chevron, False, False, 0)
row.pack_end(trailing, False, False, 0)
b = Gtk.Button()