diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-16 16:21:03 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-16 16:04:39 +0000 |
commit | 937f82c8fe6efa9b22449a5d51f1006da1513c10 (patch) | |
tree | abc358d1dfc2e96e06dc7547007a1d8cc4afabd9 /src/imports/controls/GroupBox.qml | |
parent | dd4e4ca8adc88785f02c7c549fdf43347e14350b (diff) |
GroupBox: fix background y and height assignments
Use the more specific bottomPadding rather than padding.
Change-Id: Ib8823d6d9b07eaea97479ef432df0868b1b5d37d
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/GroupBox.qml')
-rw-r--r-- | src/imports/controls/GroupBox.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/GroupBox.qml b/src/imports/controls/GroupBox.qml index a594869b..2985c02e 100644 --- a/src/imports/controls/GroupBox.qml +++ b/src/imports/controls/GroupBox.qml @@ -66,9 +66,9 @@ T.GroupBox { } background: Rectangle { - y: control.topPadding - control.padding + y: control.topPadding - control.bottomPadding width: parent.width - height: parent.height - control.topPadding + control.padding + height: parent.height - control.topPadding + control.bottomPadding color: "transparent" border.color: control.palette.mid |