aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/RadioButton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-04-12 14:53:59 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2018-04-13 11:26:49 +0000
commitb4334eed2fd6b5c33dcd464e44c3966deaca2276 (patch)
tree2f103c3af84aaebd96688d2832b72e79db3a64ed /src/imports/controls/RadioButton.qml
parentec6cc9921f4b804ed309b7dbfae6ee3b1cf3d8a7 (diff)
Use implicitContentWidth and implicitContentHeight
A simple search'n'replace change without hidden functional changes. Change-Id: I11c76846028665e66dfc6b4359adb33f77cd88ae Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/RadioButton.qml')
-rw-r--r--src/imports/controls/RadioButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/RadioButton.qml b/src/imports/controls/RadioButton.qml
index b0b50139..b6c1b267 100644
--- a/src/imports/controls/RadioButton.qml
+++ b/src/imports/controls/RadioButton.qml
@@ -43,9 +43,9 @@ T.RadioButton {
id: control
implicitWidth: Math.max(implicitBackgroundWidth,
- contentItem.implicitWidth + leftPadding + rightPadding)
+ implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight,
- Math.max(contentItem.implicitHeight,
+ Math.max(implicitContentHeight,
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
padding: 6