summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@theqtcompany.com>2014-12-04 15:38:48 +0200
committerMika Salmela <mika.salmela@theqtcompany.com>2014-12-04 15:39:12 +0200
commitb439a667c05521cea054180e880d0a55e7231541 (patch)
treee56adb8a9624bd18e74a76eb3155ff082d5900e9
parent30f86f1037e4279df2608be003d88cfcf660dde3 (diff)
Improve button width setting on perf tester.
Change-Id: I1106cfbfca839d6af09a6cc505e2630ab2b9dc49 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
-rw-r--r--tests/qmlperf/qml/qmlperf/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qmlperf/qml/qmlperf/main.qml b/tests/qmlperf/qml/qmlperf/main.qml
index 796325e0..138d3970 100644
--- a/tests/qmlperf/qml/qmlperf/main.qml
+++ b/tests/qmlperf/qml/qmlperf/main.qml
@@ -32,7 +32,7 @@ Rectangle {
Button {
id: changeButton
- width: 350
+ width: parent.width / 6
height: 50
anchors.left: parent.left
enabled: true
@@ -54,7 +54,7 @@ Rectangle {
Text {
id: fpsText
text: "Reading"
- width: 300
+ width: parent.width / 2
height: 50
anchors.left: changeButton.right
verticalAlignment: Text.AlignVCenter
@@ -63,7 +63,7 @@ Rectangle {
Button {
id: optimization
- width: 300
+ width: parent.width / 6
height: 50
anchors.left: fpsText.right
enabled: true
@@ -82,7 +82,7 @@ Rectangle {
Button {
id: itemAdd
- width: 300
+ width: parent.width / 6
height: 50
anchors.left: optimization.right
enabled: true