Changeset View
Changeset View
Standalone View
Standalone View
org.kde.desktop/Drawer.qml
Show All 15 Lines | |||||
16 | * Software Foundation and appearing in the file LICENSE.GPL included in | 16 | * Software Foundation and appearing in the file LICENSE.GPL included in | ||
17 | * the packaging of this file. Please review the following information to | 17 | * the packaging of this file. Please review the following information to | ||
18 | * ensure the GNU General Public License version 2.0 requirements will be | 18 | * ensure the GNU General Public License version 2.0 requirements will be | ||
19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | 19 | * met: http://www.gnu.org/licenses/gpl-2.0.html. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | 22 | | |||
23 | import QtQuick 2.6 | 23 | import QtQuick 2.6 | ||
24 | import QtQuick.Controls 2.0 | 24 | import QtQuick.Controls @QQC2_VERSION@ | ||
25 | import QtQuick.Templates 2.0 as T | 25 | import QtQuick.Templates @QQC2_VERSION@ as T | ||
26 | import org.kde.kirigami 2.2 as Kirigami | 26 | import org.kde.kirigami 2.2 as Kirigami | ||
27 | 27 | | |||
28 | T.Drawer { | 28 | T.Drawer { | ||
29 | id: control | 29 | id: control | ||
30 | 30 | | |||
31 | parent: T.ApplicationWindow.overlay | 31 | parent: T.ApplicationWindow.overlay | ||
32 | 32 | | |||
33 | implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding) | 33 | implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding) | ||
Show All 38 Lines |