[fractal] main_window: set width-request for content



commit 6d99cd8593f7538b5c03a5b730b2aed5758c2f84
Author: Christopher Davis <brainblasted disroot org>
Date:   Tue Jan 29 12:20:14 2019 -0500

    main_window: set width-request for content
    
    The width-request of the HeaderBar dictates what size the room HeaderBar needs to be to fold at and the 
minimum width of the HdyLeaflets total in this case.
    
    Prevents the room content from becoming too narrow.

 fractal-gtk/res/ui/main_window.ui | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/fractal-gtk/res/ui/main_window.ui b/fractal-gtk/res/ui/main_window.ui
index c6dcc52e..26fe2de6 100644
--- a/fractal-gtk/res/ui/main_window.ui
+++ b/fractal-gtk/res/ui/main_window.ui
@@ -841,7 +841,8 @@
                   <object class="GtkHeaderBar" id="room_header_bar"> <!--right titlebar-->
                     <property name="show-close-button">True</property>
                     <property name="has-subtitle">False</property>
-                    <property name="hexpand">True</property>
+                    <property name="hexpand">true</property>
+                    <property name="width-request">360</property>
                     <child>
                       <object class="GtkRevealer">
                         <property name="reveal-child" bind-source="header_leaflet" bind-property="folded" 
bind-flags="sync-create"/>


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