diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-14 10:07:16 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-14 13:38:48 +0200 |
commit | 7cb2cf5cff22af16b146593a629cb3c437df0233 (patch) | |
tree | ed2195061809dd1020f96db32343a0d87dafeb72 /src/imports/nativestyle/controls/DefaultGroupBox.qml | |
parent | d7ada4a512827c865c1336a4b9ddcf80b38fa24e (diff) |
nativestyle, GroupBox: get groupBoxPadding from the styleitem
Change-Id: I58f63b22b97ba985f1e4287f20a65f9759257502
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/imports/nativestyle/controls/DefaultGroupBox.qml')
-rw-r--r-- | src/imports/nativestyle/controls/DefaultGroupBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/controls/DefaultGroupBox.qml b/src/imports/nativestyle/controls/DefaultGroupBox.qml index 07c587cb..a7f3f9d0 100644 --- a/src/imports/nativestyle/controls/DefaultGroupBox.qml +++ b/src/imports/nativestyle/controls/DefaultGroupBox.qml @@ -58,7 +58,7 @@ T.GroupBox { ? background.labelPos : Qt.point(0,0) x: labelPos.x + background.x - y: labelPos.y + background.y - groupBoxPadding.top + y: labelPos.y + background.y - (__nativeBackground ? background.groupBoxPadding.top : 0) width: children[0].implicitWidth height: children[0].implicitHeight Text { |