[gnome-software] first run dialog: Dialog nonresizable + corrected margins



commit ad4bfc9a299f53c7b0d66e667e935d41dd58faf4
Author: Rafal Luzynski <digitalfreak lingonborough com>
Date:   Fri Sep 26 01:25:11 2014 +0200

    first run dialog: Dialog nonresizable + corrected margins
    
    Top and bottom margin of the "Let's Go Shopping" button increased
    by 21 pixels each. After consulting with aday the dialog box is
    set as nonresizable. This makes the new margins and whole layout fixed.
    
    The button looked bad in some locales because of too small top and bottom
    margins. Actually, the margins depended on the dialog window size.
    Now both the margins and the window size are constant.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736174

 src/gs-first-run-dialog.ui |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-first-run-dialog.ui b/src/gs-first-run-dialog.ui
index 4c4a511..2513a24 100644
--- a/src/gs-first-run-dialog.ui
+++ b/src/gs-first-run-dialog.ui
@@ -6,6 +6,7 @@
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Welcome</property>
     <property name="modal">True</property>
+    <property name="resizable">False</property>
     <property name="destroy_with_parent">True</property>
     <property name="type_hint">dialog</property>
     <property name="skip_taskbar_hint">True</property>
@@ -87,15 +88,15 @@
             <property name="receives_default">True</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
-            <property name="margin_top">2</property>
-            <property name="margin_bottom">5</property>
+            <property name="margin_top">23</property>
+            <property name="margin_bottom">26</property>
             <property name="use_underline">True</property>
             <style>
               <class name="suggested-action"/>
             </style>
           </object>
           <packing>
-            <property name="expand">True</property>
+            <property name="expand">False</property>
             <property name="fill">True</property>
             <property name="position">1</property>
           </packing>


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