diff options
author | Arun Raghavan <arun@asymptotic.io> | 2024-07-26 14:16:02 -0400 |
---|---|---|
committer | Arun Raghavan <arun@asymptotic.io> | 2024-07-29 17:10:24 -0400 |
commit | f4079c616e2527ae3ba66b6e8b25db2bfc244282 (patch) | |
tree | df1e725215e75f4962271a1daae0722dbdd8f9a2 /src | |
parent | c70cdeed74158ac8e196cac9984bfb642ab0f601 (diff) |
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@ayaya.dev> for first identifying the problem
and proposing a fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/cardwidget.ui | 28 |
1 files changed, 17 insertions, 11 deletions
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"> |