From 25a4429666f193fb95931124b0a8cc87e1d134c1 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Wed, 19 May 2010 16:08:46 +0200 Subject: [PATCH] Fix new dialog resizing (applicable to Linux only). --- src/plugins/coreplugin/dialogs/newdialog.ui | 22 +++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/plugins/coreplugin/dialogs/newdialog.ui b/src/plugins/coreplugin/dialogs/newdialog.ui index 7be599269ac..90f105d906e 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.ui +++ b/src/plugins/coreplugin/dialogs/newdialog.ui @@ -38,9 +38,15 @@ </item> <item row="1" column="0" rowspan="3"> <widget class="QTreeView" name="templateCategoryView"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="maximumSize"> <size> - <width>200</width> + <width>225</width> <height>16777215</height> </size> </property> @@ -77,6 +83,12 @@ <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>180</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> @@ -91,17 +103,11 @@ <item row="3" column="1"> <widget class="QTextBrowser" name="templateDescription"> <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>140</height> - </size> - </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> -- GitLab