summaryrefslogtreecommitdiffstats
path: root/examples/sensors/qmlqtsensors/components/ApplicationWindow.qml
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-05-27 10:49:16 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 11:07:13 +0200
commit325ba699f06c9ee8a97a992482a295a96cc9d809 (patch)
tree297088cfadb85ac14b7f1b30f60d971464a81245 /examples/sensors/qmlqtsensors/components/ApplicationWindow.qml
parent75aff41f72a2e538ec62b97deaf1cb5e8afd64c5 (diff)
Doc: Fix errors in Qt Sensors QML example
This change fixes the errors in example QML code by replacing the overuse of anchors with Column/Row components, and cleaning up by refactoring reusable code into a new QML type. Task-number: QTBUG-31076 Change-Id: Iade6f98d7db716848c44d4066aa23064929b32f2 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'examples/sensors/qmlqtsensors/components/ApplicationWindow.qml')
-rw-r--r--examples/sensors/qmlqtsensors/components/ApplicationWindow.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/sensors/qmlqtsensors/components/ApplicationWindow.qml b/examples/sensors/qmlqtsensors/components/ApplicationWindow.qml
index 06654e41..bf130dcd 100644
--- a/examples/sensors/qmlqtsensors/components/ApplicationWindow.qml
+++ b/examples/sensors/qmlqtsensors/components/ApplicationWindow.qml
@@ -43,9 +43,7 @@ import QtQuick 2.0
Rectangle {
id: appWnd
- x: 0
- y: 0
width: 320
height: 480
- color: "#ececec"
+ color: "#868482"
}