diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-16 13:26:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-16 14:00:59 +0200 |
commit | 0345894b1fcc2ae277d077f9eda362ddf2d25a01 (patch) | |
tree | 9eb6fee3eeb421bccce1659863dd679dd7709491 | |
parent | 467e3fc798f067ba4d3f22c32066e9d12c64fd3c (diff) | |
download | qtquickcontrols-0345894b1fcc2ae277d077f9eda362ddf2d25a01.tar.gz |
Base Style: fix the size of indicatorless CheckBox & RadioButton
Task-number: QTBUG-33023
Change-Id: I9baf05d1136ca1f2ff76e294b15afe5e9eda7666
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
-rw-r--r-- | src/styles/Base/CheckBoxStyle.qml | 3 | ||||
-rw-r--r-- | src/styles/Base/RadioButtonStyle.qml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/styles/Base/CheckBoxStyle.qml b/src/styles/Base/CheckBoxStyle.qml index 6aa6f9b5..78dcaf45 100644 --- a/src/styles/Base/CheckBoxStyle.qml +++ b/src/styles/Base/CheckBoxStyle.qml @@ -167,8 +167,7 @@ Style { Loader { id: labelLoader sourceComponent: label - anchors.top: parent.top - anchors.bottom: parent.bottom + anchors.verticalCenter: parent.verticalCenter } } } diff --git a/src/styles/Base/RadioButtonStyle.qml b/src/styles/Base/RadioButtonStyle.qml index ef3f2229..bac69d05 100644 --- a/src/styles/Base/RadioButtonStyle.qml +++ b/src/styles/Base/RadioButtonStyle.qml @@ -137,8 +137,7 @@ Style { Loader { id: labelLoader sourceComponent: label - anchors.top: parent.top - anchors.bottom: parent.bottom + anchors.verticalCenter: parent.verticalCenter } } } |