From 040ef3a8f25dc439ec1f63624bfe5ea5dd738f19 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 22 Jan 2016 13:07:53 +0100 Subject: QML-UI. Improved button style Pressing of buttons were difficult to see mainly due to small buttons and small color distance between pressed and un-pressed state. This fix enlarges the buttons a little, and choses a different color for the pressed state. Signed-off-by: Jan Mulder Signed-off-by: Dirk Hohndel --- qt-mobile/qml/SubsurfaceButton.qml | 8 ++++---- qt-mobile/qml/main.qml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/SubsurfaceButton.qml b/qt-mobile/qml/SubsurfaceButton.qml index 5f8bb6fdd..669da4f98 100644 --- a/qt-mobile/qml/SubsurfaceButton.qml +++ b/qt-mobile/qml/SubsurfaceButton.qml @@ -6,10 +6,10 @@ import org.kde.plasma.mobilecomponents 0.2 as MobileComponents Button { style: ButtonStyle { padding { - top: MobileComponents.Units.smallSpacing - left: MobileComponents.Units.smallSpacing * 2 - right: MobileComponents.Units.smallSpacing * 2 - bottom: MobileComponents.Units.smallSpacing + top: MobileComponents.Units.smallSpacing * 2 + left: MobileComponents.Units.smallSpacing * 4 + right: MobileComponents.Units.smallSpacing * 4 + bottom: MobileComponents.Units.smallSpacing * 2 } background: Rectangle { border.width: 1 diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index e69e91018..e571fc56b 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -194,7 +194,7 @@ MobileComponents.ApplicationWindow { property int titlePointSize: Math.round(fontMetrics.font.pointSize * 1.5) property int smallPointSize: Math.round(fontMetrics.font.pointSize * 0.8) property color accentColor: "#2d5b9a" - property color shadedColor: "#224575" + property color shadedColor: "#132744" property color accentTextColor: "#ececec" } -- cgit v1.2.3-70-g09d2