summaryrefslogtreecommitdiff
path: root/doc/qtcreator.qdoc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2010-07-07 10:34:06 +0200
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>2010-07-07 10:38:47 +0200
commit5d7f1bd0a5a9b24b3787b89683d7e0e247ae6e36 (patch)
tree23ef8e0087485e468a807f41e896162f38759701 /doc/qtcreator.qdoc
parentce6460e2290baaf0b9c4f7d8890e6be76e6d0fc0 (diff)
downloadqt-creator-5d7f1bd0a5a9b24b3787b89683d7e0e247ae6e36.tar.gz
Doc - Add info about layouts to the example
Reviewed-by: Niels Weber
Diffstat (limited to 'doc/qtcreator.qdoc')
-rw-r--r--doc/qtcreator.qdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc
index 24940dc023..41fbc9adeb 100644
--- a/doc/qtcreator.qdoc
+++ b/doc/qtcreator.qdoc
@@ -2790,6 +2790,17 @@
\o In the \gui Properties pane, change the \gui objectName to
\bold batteryLevelBar.
+ \o Right-click the \gui BatteryIndicator object and select
+ \gui {Lay Out > Lay Out Horizontally} to ensure that the battery
+ indicator widget size is adjusted correctly on Maemo devices.
+
+ To adjust widget size correctly on Qt Simulator, remove the condition
+ from the main.cpp file (displayed in the following code snippet) and just
+ leave the \c {w.showMaximized();} line:
+
+ \snippet examples/batteryindicator/main.cpp 0
+
+
\endlist
\section1 Completing the Header File