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/EggGroupUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/EggGroupUI.cpp') diff --git a/sigmodr/widgets/EggGroupUI.cpp b/sigmodr/widgets/EggGroupUI.cpp index e2411e47..f416ec6d 100644 --- a/sigmodr/widgets/EggGroupUI.cpp +++ b/sigmodr/widgets/EggGroupUI.cpp @@ -26,6 +26,7 @@ // Qt includes #include +#include #include using namespace Sigmod; @@ -45,6 +46,9 @@ void EggGroupUI::initGui() file.close(); ui_name = formWidget->findChild("varName"); connect(ui_name, SIGNAL(textChanged(QString)), this, SLOT(nameChanged(QString))); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); } void EggGroupUI::setGui() -- cgit