[gnome-initial-setup: 1/2] summary: Make the page fit narrow screens



commit 45c06a617bafa6c5a5dae8983d37199a6dfb5a3f
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Jul 24 21:28:39 2019 +0200

    summary: Make the page fit narrow screens
    
    Make the labels wrap and don't drop the page margins to make the page
    fit and work better in narrow screens.

 gnome-initial-setup/pages/summary/gis-summary-page.ui | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.ui 
b/gnome-initial-setup/pages/summary/gis-summary-page.ui
index 7dc5adc..9548867 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.ui
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.ui
@@ -2,10 +2,6 @@
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <template class="GisSummaryPage" parent="GisPage">
-    <property name="margin-start">0</property>
-    <property name="margin-top">0</property>
-    <property name="margin-bottom">0</property>
-    <property name="margin-end">0</property>
     <child>
       <object class="GtkFrame" id="bg_frame">
         <property name="visible">True</property>
@@ -39,6 +35,8 @@
                   <object class="GtkLabel" id="start_button_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <property name="justify">center</property>
+                    <property name="wrap">True</property>
                     <property name="xpad">4</property>
                     <property name="ypad">4</property>
                     <property name="use_underline">True</property>
@@ -53,6 +51,7 @@
               <object class="GtkLabel" id="tagline">
                 <property name="visible">True</property>
                 <property name="justify">center</property>
+                <property name="wrap">True</property>
               </object>
               <packing>
                 <property name="pack_type">end</property>
@@ -61,7 +60,9 @@
             <child>
               <object class="GtkLabel" id="title">
                 <property name="visible">True</property>
+                <property name="justify">center</property>
                 <property name="label" translatable="yes">You’re ready to go!</property>
+                <property name="wrap">True</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="scale" value="1.8"/>


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