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/BadgeUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/BadgeUI.cpp') diff --git a/sigmodr/widgets/BadgeUI.cpp b/sigmodr/widgets/BadgeUI.cpp index 83b96d93..90aa50d0 100644 --- a/sigmodr/widgets/BadgeUI.cpp +++ b/sigmodr/widgets/BadgeUI.cpp @@ -38,6 +38,7 @@ #include #include #include +#include #include using namespace Sigcore; @@ -69,6 +70,9 @@ void BadgeUI::initGui() connect(ui_badge, SIGNAL(currentIndexChanged(int)), this, SLOT(badgeChanged(int))); connect(ui_stat, SIGNAL(currentCellChanged(int,int,int,int)), this, SLOT(statChanged(int))); connect(ui_statMultiplier, SIGNAL(valueChanged(Sigcore::Fraction)), this, SLOT(statMultiplierChanged(Sigcore::Fraction))); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); ui_stat->horizontalHeader()->setResizeMode(QHeaderView::Stretch); } -- cgit