From 325ba699f06c9ee8a97a992482a295a96cc9d809 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Mon, 27 May 2013 10:49:16 +0200 Subject: 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 --- examples/sensors/qmlqtsensors/components/ApplicationWindow.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/sensors/qmlqtsensors/components/ApplicationWindow.qml') 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" } -- cgit v1.2.3