aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/GroupBox.qml')
-rw-r--r--src/imports/controls/material/GroupBox.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/controls/material/GroupBox.qml b/src/imports/controls/material/GroupBox.qml
index 67105653..7ac30ec6 100644
--- a/src/imports/controls/material/GroupBox.qml
+++ b/src/imports/controls/material/GroupBox.qml
@@ -34,10 +34,10 @@
**
****************************************************************************/
-import QtQuick 2.9
-import QtQuick.Templates 2.2 as T
-import QtQuick.Controls.Material 2.2
-import QtQuick.Controls.Material.impl 2.2
+import QtQuick 2.11
+import QtQuick.Templates 2.4 as T
+import QtQuick.Controls.Material 2.4
+import QtQuick.Controls.Material.impl 2.4
T.GroupBox {
id: control
@@ -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
radius: 2
color: control.Material.elevation > 0 ? control.Material.backgroundColor : "transparent"