[Git][pulseaudio/pavucontrol][master] cardwidget: Fix bluetooth codec combobox alignment

Arun Raghavan (@arun) gitlab at gitlab.freedesktop.org
Wed Jul 31 07:46:40 UTC 2024



Arun Raghavan pushed to branch master at PulseAudio / pavucontrol


Commits:
f4079c61 by Arun Raghavan at 2024-07-29T17:10:24-04:00
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.

- - - - -


1 changed file:

- src/cardwidget.ui


Changes:

=====================================
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">



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/f4079c616e2527ae3ba66b6e8b25db2bfc244282

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/f4079c616e2527ae3ba66b6e8b25db2bfc244282
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20240731/fc1ba961/attachment-0001.htm>


More information about the pulseaudio-commits mailing list