TaskSketcher_xxx.ui: use sensible minimal heights to avoid scaling problems

The problem is currently that if the user collapses the solver messages, the list views get too small. The reason is that there is no proper minimal height set. See the forum thread for screenshots of the fixes.

TaskSketcherMessages.ui: remove unnecessary space (saves also vertical space on small screens)
This commit is contained in:
donovaly
2019-09-25 23:23:16 +02:00
committed by wmayer
parent 4607cbb9cf
commit 4ffe076544
4 changed files with 26 additions and 15 deletions

View File

@@ -10,6 +10,18 @@
<height>288</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>288</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>

View File

@@ -110,6 +110,18 @@
</item>
<item>
<widget class="ElementView" name="listWidgetElements">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>237</height>
</size>
</property>
<property name="modelColumn">
<number>0</number>
</property>

View File

@@ -130,7 +130,7 @@ Points must be set closer than a fifth of the grid size to a grid line to snap.<
<property name="minimumSize">
<size>
<width>12</width>
<height>12</height>
<height>60</height>
</size>
</property>
<property name="toolTip">

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>253</width>
<height>132</height>
<height>108</height>
</rect>
</property>
<property name="windowTitle">
@@ -65,19 +65,6 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>