[gnome-games/wip/exalm/title: 2/2] collection-header-bar: Center title



commit 81730431c38ec7a18021940379dbd94fce356b22
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Jul 8 22:34:41 2019 +0500

    collection-header-bar: Center title
    
    Use HdyHeaderBar with 'centering-policy' set to 'strict'.
    
    Also use canonical name for 'show-close-button'.

 data/ui/collection-header-bar.ui | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 49d2a7c7..12012a6b 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -5,9 +5,10 @@
     <property name="visible">True</property>
     <property name="transition-type">slide-left-right</property>
     <child>
-      <object class="GtkHeaderBar">
+      <object class="HdyHeaderBar">
         <property name="visible">True</property>
-        <property name="show_close_button">True</property>
+        <property name="show-close-button">True</property>
+        <property name="centering-policy">strict</property>
         <child>
           <object class="GtkButton" id="add_game">
             <property name="visible">True</property>


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