summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <[email protected]>2017-02-28 17:24:40 +0100
committerMarco Martin <[email protected]>2017-02-28 17:25:03 +0100
commitdb66899283cf5dcbe133ee8786b7665361182955 (patch)
tree9acc02ab2e7264b423b8514cfe987d18bc03a937
parent6442455210ab95ff771ae7763c54f0a3032d756b (diff)
port to kirigami2
-rw-r--r--lookandfeelexplorer/package/contents/ui/FormField.qml2
-rw-r--r--lookandfeelexplorer/package/contents/ui/FormLabel.qml2
-rw-r--r--lookandfeelexplorer/package/contents/ui/main.qml4
3 files changed, 4 insertions, 4 deletions
diff --git a/lookandfeelexplorer/package/contents/ui/FormField.qml b/lookandfeelexplorer/package/contents/ui/FormField.qml
index 937aa26..8f3d951 100644
--- a/lookandfeelexplorer/package/contents/ui/FormField.qml
+++ b/lookandfeelexplorer/package/contents/ui/FormField.qml
@@ -20,7 +20,7 @@
import QtQuick 2.3
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.2
-import org.kde.kirigami 1.0 as Kirigami
+import org.kde.kirigami 2.0 as Kirigami
TextField {
id: field
diff --git a/lookandfeelexplorer/package/contents/ui/FormLabel.qml b/lookandfeelexplorer/package/contents/ui/FormLabel.qml
index 77ae8f9..1dacdfb 100644
--- a/lookandfeelexplorer/package/contents/ui/FormLabel.qml
+++ b/lookandfeelexplorer/package/contents/ui/FormLabel.qml
@@ -20,7 +20,7 @@
import QtQuick 2.3
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.2
-import org.kde.kirigami 1.0 as Kirigami
+import org.kde.kirigami 2.0 as Kirigami
Kirigami.Label {
Layout.alignment: Qt.AlignRight
diff --git a/lookandfeelexplorer/package/contents/ui/main.qml b/lookandfeelexplorer/package/contents/ui/main.qml
index 5aecd44..db7c2a8 100644
--- a/lookandfeelexplorer/package/contents/ui/main.qml
+++ b/lookandfeelexplorer/package/contents/ui/main.qml
@@ -23,11 +23,11 @@ import QtQuick.Layouts 1.1
import org.kde.draganddrop 2.0 as DragAndDrop
import org.kde.plasma.core 2.0 as PlasmaCore
-import org.kde.kirigami 1.0 as Kirigami
+import org.kde.kirigami 2.0 as Kirigami
Kirigami.AbstractApplicationWindow {
id: root
- width: units.gridUnit * 50
+ width: units.gridUnit * 65
height: units.gridUnit * 26
visible: true