From 61fa7fa904e5a28bafa8e2565e362e98fe3efa58 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 26 Feb 2009 01:30:39 -0500 Subject: Added layouts to all widgets so that the forms expand --- sigmodr/widgets/StoreUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/StoreUI.cpp') diff --git a/sigmodr/widgets/StoreUI.cpp b/sigmodr/widgets/StoreUI.cpp index 2a0cf763..a4be89db 100644 --- a/sigmodr/widgets/StoreUI.cpp +++ b/sigmodr/widgets/StoreUI.cpp @@ -30,6 +30,7 @@ // Qt includes #include #include +#include #include using namespace Sigmod; @@ -52,6 +53,9 @@ void StoreUI::initGui() connect(ui_name, SIGNAL(textChanged(QString)), this, SLOT(nameChanged(QString))); connect(ui_items, SIGNAL(added(QListWidgetItem*)), this, SLOT(itemAdded(QListWidgetItem*))); connect(ui_items, SIGNAL(removed(QListWidgetItem*)), this, SLOT(itemRemoved(QListWidgetItem*))); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); } void StoreUI::refreshGui() -- cgit