[PATCH] Planner: Make cylinder and time/depth boxes scale

Anton Lundin glance at acc.umu.se
Sat Nov 16 02:51:42 UTC 2013


When moving the horisontal splitter the cylinder and time/depth boxes
didn't scale down but got "stuck" on a certain height. This makes them
scale down when pulling the horisontal splitter up.

I would prefer if we could scale them individually, but i didn't manage
to get that going, but i didn't manage to get that going.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/diveplanner.ui | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index d545bbb..055dcc6 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -143,13 +143,7 @@
          <property name="minimumSize">
           <size>
            <width>0</width>
-           <height>150</height>
-          </size>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>16777215</width>
-           <height>150</height>
+           <height>50</height>
           </size>
          </property>
         </widget>
@@ -162,6 +156,12 @@
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
+         <property name="minimumSize">
+          <size>
+           <width>0</width>
+           <height>50</height>
+          </size>
+         </property>
         </widget>
        </item>
        <item row="9" column="0" colspan="2">
-- 
1.8.3.2



More information about the subsurface mailing list