[gnome-clocks/bilelmoussaoui/adaptive-headerbar] Make the GtkStack non homogeneous for now



commit 6e00e128fb1ab72294ac2278c8608d5b3700fa6c
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Thu Sep 26 15:13:03 2019 +0200

    Make the GtkStack non homogeneous for now
    
    This will allow the headerbar to be adaptive
    The plan is to redesign & clean the views in the near future

 data/ui/alarm.ui  | 1 +
 data/ui/window.ui | 4 ++--
 data/ui/world.ui  | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/alarm.ui b/data/ui/alarm.ui
index 88c629f..1d65ad8 100644
--- a/data/ui/alarm.ui
+++ b/data/ui/alarm.ui
@@ -4,6 +4,7 @@
   <template class="ClocksAlarmFace" parent="GtkStack">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
+    <property name="homogeneous">False</property>
     <signal name="notify::visible-child" handler="visible_child_changed" swapped="no"/>
     <child>
       <object class="GtkGrid" id="empty_view">
diff --git a/data/ui/window.ui b/data/ui/window.ui
index f545ca1..8b9ba6b 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -95,7 +95,7 @@
       </object>
     </child>
     <child>
-            <object class="GtkBox">
+      <object class="GtkBox">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
@@ -105,6 +105,7 @@
             <property name="can_focus">False</property>
             <property name="hexpand">True</property>
             <property name="vexpand">True</property>
+            <property name="homogeneous">False</property>
             <child>
               <placeholder/>
             </child>
@@ -129,7 +130,6 @@
           </packing>
         </child>
       </object>
-
     </child>
   </template>
 </interface>
diff --git a/data/ui/world.ui b/data/ui/world.ui
index c004c58..071fb72 100644
--- a/data/ui/world.ui
+++ b/data/ui/world.ui
@@ -4,6 +4,7 @@
   <template class="ClocksWorldFace" parent="GtkStack">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
+    <property name="homogeneous">False</property>
     <signal name="notify::visible-child" handler="visible_child_changed" swapped="no"/>
     <child>
       <object class="GtkGrid" id="empty_view">


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