summaryrefslogtreecommitdiffstats
path: root/examples/touch/content/ButtonPage.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-02-22 17:25:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-20 13:04:00 +0100
commitc0df0b6fc002acd22f40284f8ca5377ae96fa1ce (patch)
tree65809c103291c104d49fa1ca99375eaf1ccfccff /examples/touch/content/ButtonPage.qml
parentbeeb0840b745a29895ee4e9aeac0b07f63998c69 (diff)
Remove the Page control - use attached properties instead
Change-Id: I69599daeea4ba49689fbbbe58c5d4a60fccc8824 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/touch/content/ButtonPage.qml')
-rw-r--r--examples/touch/content/ButtonPage.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/touch/content/ButtonPage.qml b/examples/touch/content/ButtonPage.qml
index ff86c8140..cc5925ce0 100644
--- a/examples/touch/content/ButtonPage.qml
+++ b/examples/touch/content/ButtonPage.qml
@@ -46,7 +46,9 @@ import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
-Page {
+Item {
+ width: parent.width
+ height: parent.height
property real progress: 0
SequentialAnimation on progress {