[polari/wip/kunaljain/experimental-polari-search] Unsuccssful attempt to set max width



commit c78ead2973a90556c42fb44662396650da21bcd5
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 a60fe13..0209108 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -225,6 +225,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>
@@ -232,10 +243,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>
@@ -243,10 +250,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>
@@ -255,12 +279,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]