[gnome-calculator] buttons-programming: Put the bit panel into a box



commit b2a7bd8cf00bfbcdb7cb4b9540f5db6d77e0043d
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Mar 10 14:12:01 2021 +0100

    buttons-programming: Put the bit panel into a box
    
    GtkAlignment doesn't support CSS, and we don't need it anyway.

 src/ui/buttons-programming.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/buttons-programming.ui b/src/ui/buttons-programming.ui
index 26fa7edf..8befd936 100644
--- a/src/ui/buttons-programming.ui
+++ b/src/ui/buttons-programming.ui
@@ -40,13 +40,13 @@
       </packing>
     </child>
     <child>
-      <object class="GtkAlignment" id="bit_panel">
+      <object class="GtkBox" id="bit_panel">
         <property name="visible">True</property>
-        <property name="xscale">0</property>
-        <property name="yscale">0</property>
+        <property name="orientation">vertical</property>
         <child>
           <object class="GtkGrid" id="bit_table">
             <property name="visible">True</property>
+            <property name="halign">center</property>
             <child>
               <object class="GtkButton" id="toggle_bit_0_button">
                 <property name="visible">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]