summaryrefslogtreecommitdiffstats
path: root/examples/widgets/softkeys/softkeys.h
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-26 11:15:00 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-26 11:16:08 (GMT)
commit92c2102f5b1f3ab5ee1ac7a56aaabcd656804d04 (patch)
tree189984abd03b5618bbaf6427edb624b29c88a3d2 /examples/widgets/softkeys/softkeys.h
parent8a6a554626b2362ef6a12faeb725a465eb33a9fa (diff)
downloadQt-92c2102f5b1f3ab5ee1ac7a56aaabcd656804d04.zip
Qt-92c2102f5b1f3ab5ee1ac7a56aaabcd656804d04.tar.gz
Qt-92c2102f5b1f3ab5ee1ac7a56aaabcd656804d04.tar.bz2
Made layout of the Softkeys example more compact
Softkeys example didn't fit on the screen in landscape mode due to the widget minimum size enforcement done by Qt. Changed the layout of the example from QVBoxLayout to QGridlayout to make better use of the available space. Also shortened button texts. Task-number: QTBUG-6126 Reviewed-by: Janne Anttila
Diffstat (limited to 'examples/widgets/softkeys/softkeys.h')
-rw-r--r--examples/widgets/softkeys/softkeys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/softkeys/softkeys.h b/examples/widgets/softkeys/softkeys.h
index 178ae64..1372fa4 100644
--- a/examples/widgets/softkeys/softkeys.h
+++ b/examples/widgets/softkeys/softkeys.h
@@ -61,7 +61,7 @@ public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private:
- QVBoxLayout *layout;
+ QGridLayout *layout;
QWidget *central;
QTextEdit* textEditor;
QLabel *infoLabel;