Clocks now occupy full screen width
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 20 Aug 2011 03:15:49 +0000 (06:15 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 20 Aug 2011 03:15:49 +0000 (06:15 +0300)
Which makes "tap to change turn" to work for entire intended area
(everything between status area and toolbar).

classes/clockswidget.cpp

index 3865e2c..a2a1593 100644 (file)
@@ -47,6 +47,12 @@ ClocksWidget::ClocksWidget(ChessClock *white, ChessClock *black, QWidget *parent
     black_ = black;
 
     // SET UP UI
+
+
+    //Harmattan specific: brute force the width to a working value. (Adding a stretch didn't work.)
+
+    setMinimumWidth(860);
+
     // Make layout for clocks
     QHBoxLayout* clockLayout = new QHBoxLayout;
     clockLayout->addWidget(white_ );