Changeset View
Changeset View
Standalone View
Standalone View
org.kde.desktop/ItemDelegate.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.5 | 23 | import QtQuick 2.5 | ||
24 | import QtQuick.Templates 2.0 as T | 24 | import QtQuick.Templates @QQC2_VERSION@ as T | ||
25 | import org.kde.kirigami 2.2 as Kirigami | 25 | import org.kde.kirigami 2.2 as Kirigami | ||
26 | import "private" | 26 | import "private" | ||
27 | 27 | | |||
28 | T.ItemDelegate { | 28 | T.ItemDelegate { | ||
29 | id: controlRoot | 29 | id: controlRoot | ||
30 | 30 | | |||
31 | implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding | 31 | implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding | ||
32 | implicitHeight: Math.max(contentItem.implicitHeight, | 32 | implicitHeight: Math.max(contentItem.implicitHeight, | ||
Show All 22 Lines |