Fix the vertial size policy of the edit entry widget.

This commit is contained in:
Felix Geyer 2012-04-28 21:30:11 +02:00
parent 1d39368f8d
commit 3649c7753c
2 changed files with 1 additions and 7 deletions

View File

@ -41,12 +41,6 @@
</item>
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>4</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>-1</number>
</property>

View File

@ -41,7 +41,7 @@ class CategoryListWidget : public QListWidget
public:
explicit CategoryListWidget(QWidget* parent = 0) : QListWidget(parent)
{
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
setItemDelegate(new CategoryListViewDelegate(this));
}