src/cardwidget.ui
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 31 07:46:40 UTC 2024
src/cardwidget.ui | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
New commits:
commit f4079c616e2527ae3ba66b6e8b25db2bfc244282
Author: Arun Raghavan <arun at asymptotic.io>
Date: Fri Jul 26 14:16:02 2024 -0400
cardwidget: Fix bluetooth codec combobox alignment
Center looks strange, so we use fill and a little more margin to make
things look a little better.
Credit to psykose <alice at ayaya.dev> for first identifying the problem
and proposing a fix.
diff --git a/src/cardwidget.ui b/src/cardwidget.ui
index 741dc61..56df594 100644
--- a/src/cardwidget.ui
+++ b/src/cardwidget.ui
@@ -60,22 +60,28 @@
<child>
<object class="GtkBox">
<property name="valign">center</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel">
- <property name="label" translatable="yes"><b>Profile:</b></property>
- <property name="use_markup">1</property>
- <property name="xalign">0</property>
- </object>
- </child>
+ <property name="spacing">12</property>
<child>
- <object class="GtkComboBox" id="profileList">
- <property name="hexpand">1</property>
+ <object class="GtkBox" id="profileBox">
+ <property name="halign">fill</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes"><b>Profile:</b></property>
+ <property name="use_markup">1</property>
+ <property name="xalign">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="profileList">
+ <property name="hexpand">1</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkBox" id="codecBox">
- <property name="halign">center</property>
+ <property name="halign">fill</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel">
More information about the pulseaudio-commits
mailing list