summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-13 17:27:39 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-14 21:24:48 +0900
commit69969301106039de96f323d593818e3923d9ecd1 (patch)
treee7d454f90e97bcf69acc5661729f8c01f0926739
parentdbbdf62e26ca3d94ba1d93578263b27f3a4b6486 (diff)
downloadsubsurface-69969301106039de96f323d593818e3923d9ecd1.tar.gz
Correctly sets the size of the Air Types on the planner
The last commit correctly setted the minimumSize, but I forgot to set the maximum size, and thus, it still expanded. sigh. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/diveplanner.ui14
1 files changed, 13 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index a4e8e38cd..9a3f7cfd3 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -118,11 +118,23 @@
<item row="7" column="0" colspan="2">
<widget class="TableView" name="cylinderTableWidget" native="true">
<property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>150</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>150</height>
+ </size>
+ </property>
</widget>
</item>
<item row="8" column="0" colspan="2">