Skip to content
Snippets Groups Projects
Commit 25a44296 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Fix new dialog resizing (applicable to Linux only).

parent c58fedbf
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,15 @@ ...@@ -38,9 +38,15 @@
</item> </item>
<item row="1" column="0" rowspan="3"> <item row="1" column="0" rowspan="3">
<widget class="QTreeView" name="templateCategoryView"> <widget class="QTreeView" name="templateCategoryView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>200</width> <width>225</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
...@@ -77,6 +83,12 @@ ...@@ -77,6 +83,12 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>0</width>
<height>180</height>
</size>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::StrongFocus</enum> <enum>Qt::StrongFocus</enum>
</property> </property>
...@@ -91,17 +103,11 @@ ...@@ -91,17 +103,11 @@
<item row="3" column="1"> <item row="3" column="1">
<widget class="QTextBrowser" name="templateDescription"> <widget class="QTextBrowser" name="templateDescription">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>140</height>
</size>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::NoFocus</enum> <enum>Qt::NoFocus</enum>
</property> </property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment