aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/RadioButton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-25 01:04:19 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-25 08:53:45 +0000
commit6980589344b67f6a68e5fa86d3ea89d9f659d842 (patch)
tree9cb7636e2a45ce429436cac99808189ccb95c856 /src/imports/controls/material/RadioButton.qml
parent96474dba254526b48e35ffa5b22950185dae43fb (diff)
Specify baseline offsets
Change-Id: I4845a7beac2edc0f0bcc1c810edd7d9e86f31c87 Task-number: QTBUG-49468 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/material/RadioButton.qml')
-rw-r--r--src/imports/controls/material/RadioButton.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/material/RadioButton.qml b/src/imports/controls/material/RadioButton.qml
index 4e07e0e4..96605311 100644
--- a/src/imports/controls/material/RadioButton.qml
+++ b/src/imports/controls/material/RadioButton.qml
@@ -48,6 +48,7 @@ T.RadioButton {
implicitHeight: Math.max(background ? background.implicitHeight : 0,
Math.max(label ? label.implicitHeight : 0,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
+ baselineOffset: label ? label.y + label.baselineOffset : 0
padding: 6
spacing: 6