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

[tor-commits] [arm/master] Added minimum width/height requirements for paned childs.



commit a3c427e1203d056f7c647ed679bbc54ced47aba8
Author: Kamran Riaz Khan <krkhan@xxxxxxxxxxxxxx>
Date:   Tue Jun 14 02:48:30 2011 +0500

    Added minimum width/height requirements for paned childs.
---
 src/gui/arm.xml |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/gui/arm.xml b/src/gui/arm.xml
index e58279b..23230b6 100644
--- a/src/gui/arm.xml
+++ b/src/gui/arm.xml
@@ -288,10 +288,12 @@
             <property name="orientation">vertical</property>
             <child>
               <object class="GtkHPaned" id="hpaned_main">
+                <property name="height_request">300</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <child>
                   <object class="GtkNotebook" id="notebook_main">
+                    <property name="width_request">300</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <child>
@@ -607,8 +609,8 @@ each direction. (Default: 0) &lt;/span&gt;</property>
                     </child>
                   </object>
                   <packing>
-                    <property name="resize">False</property>
-                    <property name="shrink">True</property>
+                    <property name="resize">True</property>
+                    <property name="shrink">False</property>
                   </packing>
                 </child>
                 <child>
@@ -653,17 +655,18 @@ each direction. (Default: 0) &lt;/span&gt;</property>
                   </object>
                   <packing>
                     <property name="resize">True</property>
-                    <property name="shrink">True</property>
+                    <property name="shrink">False</property>
                   </packing>
                 </child>
               </object>
               <packing>
-                <property name="resize">False</property>
-                <property name="shrink">True</property>
+                <property name="resize">True</property>
+                <property name="shrink">False</property>
               </packing>
             </child>
             <child>
               <object class="GtkScrolledWindow" id="scrolledwindow_log">
+                <property name="height_request">100</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="hscrollbar_policy">automatic</property>
@@ -678,7 +681,7 @@ each direction. (Default: 0) &lt;/span&gt;</property>
               </object>
               <packing>
                 <property name="resize">True</property>
-                <property name="shrink">True</property>
+                <property name="shrink">False</property>
               </packing>
             </child>
           </object>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits