Move options caption to box title. This frees up quite a bit of space at 800x600
authornemo
Thu, 15 Sep 2011 22:33:55 -0400
changeset 5925 2a9353b800cd
parent 5924 82fc26c53d2a
child 5926 09bbc7b88714
Move options caption to box title. This frees up quite a bit of space at 800x600
QTfrontend/gamecfgwidget.cpp
QTfrontend/main.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);
--- 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{"