diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-03-02 09:27:01 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-02 09:28:10 +0100 |
commit | 1e6be176db0c502971b4ed19e06db49d22f99abf (patch) | |
tree | 30f782e2b1ccc72dfb2529975119b9ac01f917d6 /tests/manual/testbench | |
parent | d8df1613b61e9b3309fb5b02763bd2f46b430f27 (diff) | |
download | qtquickcontrols-1e6be176db0c502971b4ed19e06db49d22f99abf.tar.gz |
Improve look of Label
- Dont hardcode 11 px(!)
- Set colorGroup when disabled
- Use NativeRendering
Change-Id: I8ad7ca3244c952088fb7ef2704fd0d65f90d9f7c
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/manual/testbench')
-rw-r--r-- | tests/manual/testbench/content/PropertyLayouts.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/manual/testbench/content/PropertyLayouts.qml b/tests/manual/testbench/content/PropertyLayouts.qml index 7a105978..c191dcd0 100644 --- a/tests/manual/testbench/content/PropertyLayouts.qml +++ b/tests/manual/testbench/content/PropertyLayouts.qml @@ -55,7 +55,7 @@ QtObject { property Component intLayout: RowLayout { spacing: 4 - Text { + Label { text: name + ":" Layout.minimumWidth: 100 } @@ -75,7 +75,7 @@ QtObject { property Component realLayout: RowLayout { spacing: 4 - Text { + Label { text: name + ":" Layout.minimumWidth: 100 } @@ -106,7 +106,7 @@ QtObject { property Component stringLayout: RowLayout { spacing: 4 - Text { + Label { text: name + ":" width: 100 } @@ -125,12 +125,12 @@ QtObject { property Component readonlyLayout: RowLayout { height: 20 - Text { + Label { id: text height: 20 text: name + ":" } - Text { + Label { height: 20 anchors.right: parent.right Layout.horizontalSizePolicy: Layout.Expanding @@ -142,7 +142,7 @@ QtObject { id: enumLayout spacing: 4 height: 20 - Text { + Label { text: name + ":" Layout.minimumWidth: 100 } |