Layout issues: Fix rating/visibility vs suit

The suit field should take up all the remaining space and the stars should
be vertically centered with the text.

This looks much better

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-25 17:41:12 -07:00
parent 8f2f9164fc
commit ed57442bf7

View file

@ -55,8 +55,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<height>758</height>
<width>445</width>
<height>760</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
@ -245,7 +245,7 @@
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0,1">
<property name="horizontalSpacing">
<number>5</number>
</property>
@ -285,7 +285,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<item row="1" column="0" alignment="Qt::AlignVCenter">
<widget class="StarWidget" name="rating" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
@ -298,7 +298,7 @@
</property>
</widget>
</item>
<item row="1" column="1">
<item row="1" column="1" alignment="Qt::AlignVCenter">
<widget class="StarWidget" name="visibility" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
@ -313,6 +313,12 @@
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="suit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
@ -508,8 +514,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<height>750</height>
<width>100</width>
<height>30</height>
</rect>
</property>
<layout class="QGridLayout" name="equipmentTabScrollAreaLayout">
@ -603,8 +609,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<height>750</height>
<width>286</width>
<height>300</height>
</rect>
</property>
<layout class="QGridLayout" name="diveInfoScrollAreaLayout">
@ -944,8 +950,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<height>750</height>
<width>297</width>
<height>177</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@ -1118,10 +1124,6 @@
</layout>
</item>
</layout>
<zorder>groupBox_8b</zorder>
<zorder>groupBox_4b</zorder>
<zorder>groupBoxb</zorder>
<zorder>diveStatisticsMessage</zorder>
</widget>
</widget>
</item>