aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/Pane.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/Pane.qml')
-rw-r--r--src/imports/controls/Pane.qml12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/imports/controls/Pane.qml b/src/imports/controls/Pane.qml
index 7b95cd8a..feb8eb58 100644
--- a/src/imports/controls/Pane.qml
+++ b/src/imports/controls/Pane.qml
@@ -1,9 +1,9 @@
/****************************************************************************
**
-** Copyright (C) 2015 The Qt Company Ltd.
+** Copyright (C) 2016 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
-** This file is part of the Qt Labs Controls module of the Qt Toolkit.
+** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
@@ -35,7 +35,7 @@
****************************************************************************/
import QtQuick 2.6
-import Qt.labs.templates 1.0 as T
+import QtQuick.Templates 2.0 as T
T.Pane {
id: control
@@ -46,15 +46,11 @@ T.Pane {
contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0)
contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0)
- padding: 6
+ padding: 12
- //! [contentItem]
contentItem: Item { }
- //! [contentItem]
- //! [background]
background: Rectangle {
color: "#ffffff"
}
- //! [background]
}