projects
/
chessclock
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7aefe
)
Clocks now occupy full screen width
author
Heli Hyvättinen
<heli.hyvattinen@kymp.net>
Sat, 20 Aug 2011 03:15:49 +0000
(06:15 +0300)
committer
Heli 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
patch
|
blob
|
history
diff --git
a/classes/clockswidget.cpp
b/classes/clockswidget.cpp
index
3865e2c
..
a2a1593
100644
(file)
--- a/
classes/clockswidget.cpp
+++ b/
classes/clockswidget.cpp
@@
-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_ );