summaryrefslogtreecommitdiff
path: root/examples/sensors/grue/qml_app/main.qml
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-04-13 16:23:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-16 07:49:11 +0200
commit8a36fce9f7f2db716327a611682a41c96e6d8472 (patch)
tree4fd3e22e13c94afbcb9c45121887531024e6ea88 /examples/sensors/grue/qml_app/main.qml
parentcf9442c184f1cd4b3e8baba517fc757085cd5ea5 (diff)
downloadqtsensors-8a36fce9f7f2db716327a611682a41c96e6d8472.tar.gz
Package the grue sensor example into a self-contained bundle.
Cleaner for deployment (no need to write to inaccessible system locations) though it uses a bit of a hack to get QtSensors to find the backend plugin. Change-Id: Ibfa765d928a2d57429832c68594bcbe38f9d6a6e Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
Diffstat (limited to 'examples/sensors/grue/qml_app/main.qml')
-rw-r--r--examples/sensors/grue/qml_app/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sensors/grue/qml_app/main.qml b/examples/sensors/grue/qml_app/main.qml
index 5b619c6..05d267c 100644
--- a/examples/sensors/grue/qml_app/main.qml
+++ b/examples/sensors/grue/qml_app/main.qml
@@ -76,6 +76,7 @@ Rectangle {
Text {
id: text
anchors.top: parent.top
+ anchors.topMargin: 20
anchors.left: parent.left
anchors.right: parent.right
text: "I can't tell if you're going to be eaten by a Grue or not. You're on your own!"