From 73b2621624c87528ce776b74555ec98c56115661 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 10 Mar 2016 12:41:52 +0100 Subject: remove Colorpalette.qml and change its use to the theme plugin --- components/package/contents/ui/Settings.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'components/package/contents/ui/Settings.qml') diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml index 692ddd0a..fa886f2b 100644 --- a/components/package/contents/ui/Settings.qml +++ b/components/package/contents/ui/Settings.qml @@ -23,13 +23,14 @@ import org.kde.plasma.core 2.0 as PlasmaCore import org.kube.framework.settings 1.0 as KubeSettings import org.kube.framework.domain 1.0 as KubeFramework +import org.kube.framework.theme 1.0 Rectangle { id: root visible: false - color: colorPalette.border + color: ColorPalette.border opacity: 0.9 @@ -47,7 +48,7 @@ Rectangle { height: root.height * 0.8 width: root.width * 0.8 - color: colorPalette.background + color: ColorPalette.background MouseArea { anchors.fill: parent -- cgit v1.2.3 From 181b39ddd0b3c027341b228ab51482ce4413d3bb Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 10 Mar 2016 13:54:07 +0100 Subject: add scaling unit to the theme plugin and use it instaed of the main.qml unit item --- components/package/contents/ui/Settings.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/package/contents/ui/Settings.qml') diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml index fa886f2b..bada1140 100644 --- a/components/package/contents/ui/Settings.qml +++ b/components/package/contents/ui/Settings.qml @@ -75,7 +75,7 @@ Rectangle { anchors { verticalCenter: parent.verticalCenter left: parent.left - // leftMargin: unit.size * 3 + // leftMargin: Unit.size * 3 } source: accountFactory.icon } -- cgit v1.2.3