From d45b362589c6cf7209246414c856ce63159bca39 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 26 Mar 2019 13:39:21 +0100 Subject: Invert the slide background gradient. Adapt it to window size --- qml/mw-ui.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qml/mw-ui.qml') diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index dcefa43..0286384 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -29,10 +29,10 @@ Rectangle { id: slidebackground LinearGradient { start: Qt.point(0, 0) - end: Qt.point(0, 800) + end: Qt.point(0, box.height) gradient: Gradient { - GradientStop { position: 0.0; color: "#2397D4" } - GradientStop { position: 1.0; color: "#262F45" } + GradientStop { position: 1.0; color: "#2397D4" } + GradientStop { position: 0.0; color: "#262F45" } } } } -- cgit v1.2.1