diff options
Diffstat (limited to 'src/imports/controls/Pane.qml')
-rw-r--r-- | src/imports/controls/Pane.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/controls/Pane.qml b/src/imports/controls/Pane.qml index 418d32b3..62a34797 100644 --- a/src/imports/controls/Pane.qml +++ b/src/imports/controls/Pane.qml @@ -42,8 +42,10 @@ import QtQuick.Templates 2.5 as T T.Pane { id: control - implicitWidth: Math.max(implicitBackgroundWidth, contentWidth + leftPadding + rightPadding) - implicitHeight: Math.max(implicitBackgroundHeight, contentHeight + topPadding + bottomPadding) + implicitWidth: Math.max(implicitBackgroundWidth, + contentWidth + leftPadding + rightPadding) + implicitHeight: Math.max(implicitBackgroundHeight, + contentHeight + topPadding + bottomPadding) padding: 12 |