[gnome-builder] preferences: save an extra 24px in width



commit f6c528c9ce81eb68e2dcd4204bd5620623ee465d
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 11 15:43:03 2016 -0700

    preferences: save an extra 24px in width
    
    Currently we can't use the programming languages side-by-side
    layout on screens with 1280 width. While that is less than
    ideal, it could be common today with 2x rendering by the
    compositor/gtk. So we need to support it to some degree.
    
    This gets us down to 1324, so we still need to shave off another
    44 pixels from the min-width.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772700

 libide/preferences/ide-preferences-page.ui        |    1 -
 libide/preferences/ide-preferences-perspective.ui |    5 +++++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libide/preferences/ide-preferences-page.ui b/libide/preferences/ide-preferences-page.ui
index a9b6bd6..94b2d8d 100644
--- a/libide/preferences/ide-preferences-page.ui
+++ b/libide/preferences/ide-preferences-page.ui
@@ -4,7 +4,6 @@
   <template class="IdePreferencesPage" parent="GtkBin">
     <child>
       <object class="IdePreferencesFlowBox" id="box">
-        <property name="border-width">24</property>
         <property name="visible">true</property>
       </object>
     </child>
diff --git a/libide/preferences/ide-preferences-perspective.ui 
b/libide/preferences/ide-preferences-perspective.ui
index 7af0449..066142f 100644
--- a/libide/preferences/ide-preferences-perspective.ui
+++ b/libide/preferences/ide-preferences-perspective.ui
@@ -39,6 +39,7 @@
                 <property name="visible">true</property>
                 <child>
                   <object class="GtkStack" id="page_stack">
+                    <property name="margin">24</property>
                     <property name="homogeneous">false</property>
                     <property name="transition-duration">333</property>
                     <property name="transition-type">crossfade</property>
@@ -51,6 +52,10 @@
                     <property name="visible">true</property>
                     <child>
                       <object class="GtkStack" id="subpage_stack">
+                        <property name="margin-start">0</property>
+                        <property name="margin-end">24</property>
+                        <property name="margin-top">24</property>
+                        <property name="margin-bottom">24</property>
                         <property name="halign">start</property>
                         <property name="hexpand">false</property>
                         <property name="homogeneous">false</property>


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