summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-08-16 13:26:37 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-16 14:00:59 +0200
commit0345894b1fcc2ae277d077f9eda362ddf2d25a01 (patch)
tree9eb6fee3eeb421bccce1659863dd679dd7709491
parent467e3fc798f067ba4d3f22c32066e9d12c64fd3c (diff)
downloadqtquickcontrols-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.qml3
-rw-r--r--src/styles/Base/RadioButtonStyle.qml3
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
}
}
}