diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-13 17:27:39 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-14 21:24:48 +0900 |
commit | 69969301106039de96f323d593818e3923d9ecd1 (patch) | |
tree | e7d454f90e97bcf69acc5661729f8c01f0926739 | |
parent | dbbdf62e26ca3d94ba1d93578263b27f3a4b6486 (diff) | |
download | subsurface-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.ui | 14 |
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"> |