Commit d1d7a626 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: make the preview interface fixed Height

So, it avoids the horrible size changes.
parent bb89e917
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>758</width> <width>745</width>
<height>657</height> <height>651</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -228,14 +228,14 @@ ...@@ -228,14 +228,14 @@
<string>Look and feel</string> <string>Look and feel</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="6" column="0" colspan="2"> <item row="7" column="0" colspan="2">
<widget class="QRadioButton" name="skins"> <widget class="QRadioButton" name="skins">
<property name="text"> <property name="text">
<string>Use custom skin</string> <string>Use custom skin</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="2" colspan="2"> <item row="7" column="2" colspan="2">
<widget class="QLabel" name="skinsLabel"> <widget class="QLabel" name="skinsLabel">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
...@@ -269,14 +269,14 @@ ...@@ -269,14 +269,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0" colspan="4"> <item row="6" column="0" colspan="4">
<widget class="Line" name="line"> <widget class="Line" name="line">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="2" colspan="2"> <item row="8" column="2" colspan="2">
<widget class="QWidget" name="skins_zone" native="true"> <widget class="QWidget" name="skins_zone" native="true">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="0" column="2" rowspan="2" colspan="2"> <item row="0" column="2" rowspan="3" colspan="2">
<widget class="QWidget" name="native_zone" native="true"> <widget class="QWidget" name="native_zone" native="true">
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<property name="margin"> <property name="margin">
...@@ -422,18 +422,28 @@ ...@@ -422,18 +422,28 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" rowspan="2" colspan="2">
<widget class="InterfacePreviewWidget" name="mainPreview"> <widget class="InterfacePreviewWidget" name="mainPreview">
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> <set>Qt::AlignHCenter|Qt::AlignTop</set>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>displayModeBox</cstring> <cstring>displayModeBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="0" colspan="2"> <item row="8" column="0" colspan="2">
<widget class="InterfacePreviewWidget" name="skinsPreview"/> <widget class="InterfacePreviewWidget" name="skinsPreview">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment