[gnome-disk-utility] ui: Align job section



commit d29e8cf7762857cb2e2da6ed1b889b5f51486fa4
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date:   Fri Jul 23 13:35:27 2021 +0200

    ui: Align job section
    
    The job section was vertically misaligned.
    
    Center the cancel button and the job label.
    
    #44

 src/disks/ui/disks.ui | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/src/disks/ui/disks.ui b/src/disks/ui/disks.ui
index cb3ea111..d956d6c1 100644
--- a/src/disks/ui/disks.ui
+++ b/src/disks/ui/disks.ui
@@ -381,7 +381,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="xalign">1</property>
-                                    <property name="yalign">0</property>
+                                    <property name="valign">center</property>
                                     <property name="label" translatable="yes">Job</property>
                                     <style>
                                       <class name="dim-label"/>
@@ -429,6 +429,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="valign">center</property>
                                         <style>
                                           <class name="image-button"/>
                                           <class name="circular"/>
@@ -445,7 +446,7 @@
                                         <property name="left_attach">2</property>
                                         <property name="top_attach">0</property>
                                         <property name="width">1</property>
-                                        <property name="height">1</property>
+                                        <property name="height">2</property>
                                       </packing>
                                     </child>
                                     <child>
@@ -453,12 +454,13 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="xalign">0</property>
+                                        <property name="valign">center</property>
                                       </object>
                                       <packing>
                                         <property name="left_attach">1</property>
                                         <property name="top_attach">0</property>
                                         <property name="width">1</property>
-                                        <property name="height">1</property>
+                                        <property name="height">2</property>
                                       </packing>
                                     </child>
                                     <child>
@@ -991,7 +993,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
                                         <property name="xalign">1</property>
-                                        <property name="yalign">0</property>
+                                        <property name="valign">center</property>
                                         <property name="label" translatable="yes">Job</property>
                                         <style>
                                           <class name="dim-label"/>
@@ -1039,6 +1041,7 @@
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <property name="receives_default">True</property>
+                                            <property name="valign">center</property>
                                             <style>
                                               <class name="image-button"/>
                                               <class name="circular"/>
@@ -1055,7 +1058,7 @@
                                             <property name="left_attach">2</property>
                                             <property name="top_attach">0</property>
                                             <property name="width">1</property>
-                                            <property name="height">1</property>
+                                            <property name="height">2</property>
                                           </packing>
                                         </child>
                                         <child>
@@ -1063,12 +1066,13 @@
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="xalign">0</property>
+                                            <property name="valign">center</property>
                                           </object>
                                           <packing>
                                             <property name="left_attach">1</property>
                                             <property name="top_attach">0</property>
                                             <property name="width">1</property>
-                                            <property name="height">1</property>
+                                            <property name="height">2</property>
                                           </packing>
                                         </child>
                                         <child>


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