diff options
author | Florent Revest <revestflo@gmail.com> | 2016-07-10 11:18:45 +0200 |
---|---|---|
committer | Florent Revest <revestflo@gmail.com> | 2016-07-10 11:18:45 +0200 |
commit | 3c9d7497c87dcde8decc8112acf29d636c7d7865 (patch) | |
tree | 1e01add88aec5cca5a37588969d930efb1ff27aa | |
parent | ae2dd5d00261b50459a71b2a21b5cad0817f5d1a (diff) |
Removes the usage of QtGraphicalEffects by replacing LinearGradient by a Rectangle
-rw-r--r-- | main.qml | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -19,7 +19,6 @@ */ import QtQuick 2.5 -import QtGraphicalEffects 1.0 import org.asteroid.controls 1.0 Application { @@ -53,11 +52,9 @@ Application { Item { anchors.fill: parent - LinearGradient { + Rectangle { id: mainPage anchors.fill: parent - start: Qt.point(0, 0) - end: Qt.point(0, parent.height) gradient: Gradient { GradientStop { position: 0.0; color: "#F07060" } GradientStop { position: 1.0; color: "#DD5E4E" } |