aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/SubsurfaceButton.qml
diff options
context:
space:
mode:
authorGravatar Marco Martin <notmart@gmail.com>2016-03-08 21:26:54 +0100
committerGravatar Marco Martin <notmart@gmail.com>2016-03-08 21:26:54 +0100
commitc780cfd7ce483c5e3e870c9c92c06a4f1995cbed (patch)
tree80e1e3ae9d2c1342f2bfba1397637452f98efc28 /qt-mobile/qml/SubsurfaceButton.qml
parentc6c3967dd99f198131f3f3e170a6d20d0dc77deb (diff)
downloadsubsurface-c780cfd7ce483c5e3e870c9c92c06a4f1995cbed.tar.gz
port to Kirigami imports and new api
first quick and dirty port of the imports to Kirigami 1.0 (using system installed for now) adapt to api changes and try out some of the proposed ui changes from the HIG Signed-off-by: Marco Martin <notmart@gmail.com>
Diffstat (limited to 'qt-mobile/qml/SubsurfaceButton.qml')
-rw-r--r--qt-mobile/qml/SubsurfaceButton.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-mobile/qml/SubsurfaceButton.qml b/qt-mobile/qml/SubsurfaceButton.qml
index 669da4f98..174d44659 100644
--- a/qt-mobile/qml/SubsurfaceButton.qml
+++ b/qt-mobile/qml/SubsurfaceButton.qml
@@ -1,15 +1,15 @@
import QtQuick 2.5
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
-import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
+import org.kde.kirigami 1.0 as Kirigami
Button {
style: ButtonStyle {
padding {
- top: MobileComponents.Units.smallSpacing * 2
- left: MobileComponents.Units.smallSpacing * 4
- right: MobileComponents.Units.smallSpacing * 4
- bottom: MobileComponents.Units.smallSpacing * 2
+ top: Kirigami.Units.smallSpacing * 2
+ left: Kirigami.Units.smallSpacing * 4
+ right: Kirigami.Units.smallSpacing * 4
+ bottom: Kirigami.Units.smallSpacing * 2
}
background: Rectangle {
border.width: 1