# HG changeset patch # User nemo # Date 1316140435 14400 # Node ID 2a9353b800cda951e27d4e44edc3eab48f3704f7 # Parent 82fc26c53d2a6761f133b37e03141b3b48eeb03d Move options caption to box title. This frees up quite a bit of space at 800x600 diff -r 82fc26c53d2a -r 2a9353b800cd QTfrontend/gamecfgwidget.cpp --- a/QTfrontend/gamecfgwidget.cpp Thu Sep 15 20:39:04 2011 -0400 +++ b/QTfrontend/gamecfgwidget.cpp Thu Sep 15 22:33:55 2011 -0400 @@ -49,9 +49,7 @@ QGridLayout *GBoxOptionsLayout = new QGridLayout(GBoxOptions); - QLabel *titleLabel = new QLabel(QLabel::tr("Game Options"), GBoxOptions); - titleLabel->setMargin(7); // TODO: make the text larger/richer!!!! - GBoxOptionsLayout->addWidget(titleLabel, 0, 0, 1, 0, Qt::AlignHCenter); + GBoxOptions->setTitle(tr("Game Options")); GBoxOptionsLayout->addWidget(new QLabel(QLabel::tr("Style"), GBoxOptions), 1, 0); Scripts = new QComboBox(GBoxOptions); diff -r 82fc26c53d2a -r 2a9353b800cd QTfrontend/main.cpp --- a/QTfrontend/main.cpp Thu Sep 15 20:39:04 2011 -0400 +++ b/QTfrontend/main.cpp Thu Sep 15 22:33:55 2011 -0400 @@ -251,6 +251,8 @@ "subcontrol-origin: margin;" "subcontrol-position: top left;" "text-align: left;" + "left: 15px;" + "top: -4px;" "}" "QCheckBox::indicator:checked{"