From bb836dae385e6358283e67af818688a5a6815509 Mon Sep 17 00:00:00 2001 From: cryptochangements34 Date: Tue, 21 Nov 2017 18:49:34 -0500 Subject: [PATCH] Use jpg for gradiency --- components/TitleBar.qml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/components/TitleBar.qml b/components/TitleBar.qml index c1cc186f..1c7a61db 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -51,14 +51,12 @@ Rectangle { height: 50 z: 1 - LinearGradient { - anchors.fill: parent - start: Qt.point(0, 0) - end: Qt.point(parent.width, 0) - gradient: Gradient { - GradientStop { position: 1.0; color: "#1a1a1a" } - GradientStop { position: 0.0; color: "black" } - } + // use jpg for gradiency + Image { + anchors.fill: parent + height: parent.height + width: parent.width + source: "../images/titlebarGradient.jpg" } }