diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-09-25 12:47:01 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-09-26 05:04:55 +0200 |
commit | 5c3a5cf8106e1b873924b296c792448c33ee4df1 (patch) | |
tree | 9e9b91ad4a5c23aa92aa71fa5545d9271ea460f7 /examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml | |
parent | 2d9d5acb9c809dc5c5021bc8c00cae696ca52b1a (diff) |
QMLVideo Example visual update
Task-number: QTBUG-36287
Change-Id: I797a995c2ccd6f6fec40fbf50f93e297ae15a9b1
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml')
-rw-r--r-- | examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml index cfba508a2..2ad65f606 100644 --- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml +++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneRotate.qml @@ -56,7 +56,7 @@ Scene { bottom: rotateNegativeButton.top margins: parent.margins } - width: 90 + width: Math.max(parent.width, parent.height) / 10 height: root.buttonHeight text: "Rotate +" + delta onClicked: content.rotation = content.rotation + delta @@ -69,7 +69,7 @@ Scene { verticalCenter: parent.verticalCenter margins: parent.margins } - width: 90 + width: Math.max(parent.width, parent.height) / 10 height: root.buttonHeight text: "Rotate -" + delta onClicked: content.rotation = content.rotation - delta @@ -82,7 +82,7 @@ Scene { verticalCenter: parent.verticalCenter margins: parent.margins } - width: 30 + width: Math.max(parent.width, parent.height) / 25 height: root.buttonHeight enabled: false text: content.rotation % 360 |