Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
663adabf by wurstsalat at 2025-12-25T18:14:17+01:00
fix: ChatBanner: Fix voice request button layout
- - - - -
3 changed files:
- gajim/data/gui/chat_banner.ui
- gajim/gtk/chat_banner.py
- gajim/gtk/groupchat_voice_requests_button.py
Changes:
=====================================
gajim/data/gui/chat_banner.ui
=====================================
@@ -134,10 +134,8 @@
</child>
<child>
<object class="GtkBox" id="_additional_items_box">
- <property name="halign">end</property>
- <property name="valign">center</property>
<property name="margin-end">6</property>
- <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
<child>
<placeholder/>
</child>
=====================================
gajim/gtk/chat_banner.py
=====================================
@@ -74,10 +74,10 @@ def __init__(self) -> None:
self._last_message_from_phone: set[BareContact] = set()
self._account_badge = AccountBadge(bind_setting=True)
- self._voice_requests_button = VoiceRequestsButton()
+ self._additional_items_box.append(self._account_badge)
+ self._voice_requests_button = VoiceRequestsButton()
self._additional_items_box.append(self._voice_requests_button)
- self._additional_items_box.append(self._account_badge)
self._avatar_button.set_create_popup_func(self._on_avatar_clicked)
=====================================
gajim/gtk/groupchat_voice_requests_button.py
=====================================
@@ -22,6 +22,8 @@ def __init__(self) -> None:
self,
tooltip_text=_("Pending Voice Requests"),
visible=False,
+ halign=Gtk.Align.END,
+ valign=Gtk.Align.CENTER,
)
SignalManager.__init__(self)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/663adabf6ea2ae8b9b6063cc8f0cd87ceb563382
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/663adabf6ea2ae8b9b6063cc8f0cd87ceb563382
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]