From b439a667c05521cea054180e880d0a55e7231541 Mon Sep 17 00:00:00 2001 From: Mika Salmela Date: Thu, 4 Dec 2014 15:38:48 +0200 Subject: Improve button width setting on perf tester. Change-Id: I1106cfbfca839d6af09a6cc505e2630ab2b9dc49 Reviewed-by: Mika Salmela --- tests/qmlperf/qml/qmlperf/main.qml | 8 ++++---- 1 file 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 -- cgit v1.2.3