equal
deleted
inserted
replaced
26 |
26 |
27 GameCFGWidget::GameCFGWidget(QWidget* parent, bool externalControl) : |
27 GameCFGWidget::GameCFGWidget(QWidget* parent, bool externalControl) : |
28 QWidget(parent), mainLayout(this) |
28 QWidget(parent), mainLayout(this) |
29 { |
29 { |
30 mainLayout.setMargin(0); |
30 mainLayout.setMargin(0); |
|
31 mainLayout.setSizeConstraint(QLayout::SetMinimumSize); |
31 QGroupBox *GBoxMap = new QGroupBox(this); |
32 QGroupBox *GBoxMap = new QGroupBox(this); |
32 GBoxMap->setTitle(QGroupBox::tr("Landscape")); |
33 GBoxMap->setTitle(QGroupBox::tr("Landscape")); |
33 GBoxMap->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
34 GBoxMap->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
34 mainLayout.addWidget(GBoxMap); |
35 mainLayout.addWidget(GBoxMap); |
35 |
36 |