[polari/wip/fmuellner/combined-gsoc: 19/103] Unsuccssful attempt to set max width



commit 23be091b6ccb243340074ba456a5105a2cdf7229
Author: Kunaal Jain <kunaalus gmail com>
Date:   Tue Jun 21 03:12:38 2016 +0530

    Unsuccssful attempt to set max width

 data/resources/main-window.ui |   51 +++++++++++++++++++++++++++++++---------
 1 files changed, 39 insertions(+), 12 deletions(-)
---
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index 98b57a6..6b6b3ad 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -218,6 +218,17 @@
                 <style>
                   <class name="polari-room-list"/>
                 </style>
+                    <child>
+          <object class="GtkStack" id="mainStack">
+            <property name="visible">True</property>
+            <property name="transition-type">slide-left-right</property>
+            <property name="hexpand">false</property>
+            <child>
+              <object class="Gjs_FixedSizeFrame">
+                <property name="visible">True</property>
+                <property name="hexpand">False</property>
+                <property name="width">200</property>
+                <property name="shadow-type">none</property>
                 <child>
                   <object class="GtkScrolledWindow">
                     <property name="visible">True</property>
@@ -225,10 +236,6 @@
                     <property name="vexpand">True</property>
                     <property name="hexpand">True</property>
                     <child>
-          <object class="GtkStack" id="mainStack">
-            <property name="visible">True</property>
-            <property name="transition-type">slide-left-right</property>
-                    <child>
                       <object class="Gjs_RoomList">
                         <property name="visible">True</property>
                         <property name="selection-mode">browse</property>
@@ -236,10 +243,27 @@
                           <class name="sidebar"/>
                         </style>
                       </object>
-                      <packing>
-                <property name="name">roomList</property>
-              </packing>
+
                     </child>
+                </object>
+            </child>
+                </object>
+                <packing>
+          <property name="name">roomList</property>
+        </packing>
+            </child>
+            <child>
+              <object class="Gjs_FixedSizeFrame">
+                <property name="visible">True</property>
+                <property name="hexpand">False</property>
+                <property name="width">200</property>
+                <property name="shadow-type">none</property>
+                <child>
+                  <object class="GtkScrolledWindow">
+                    <property name="visible">True</property>
+                    <property name="hscrollbar-policy">never</property>
+                    <property name="vexpand">True</property>
+                    <property name="hexpand">True</property>
                     <child>
                   <object class="GtkListBox" id="results">
                     <property name="visible">True</property>
@@ -248,12 +272,15 @@
                           <class name="sidebar"/>
                         </style>
                   </object>
-                  <packing>
-                <property name="name">image</property>
-              </packing>
-                </child>
-                  </object>
+
                 </child>
+            </object>
+        </child>
+            </object>
+            <packing>
+          <property name="name">image</property>
+        </packing>
+        </child>
                   </object>
                 </child>
               </object>


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