src/cardwidget.ui | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-)
New commits: commit f4079c616e2527ae3ba66b6e8b25db2bfc244282 Author: Arun Raghavan <a...@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 <al...@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">