diff --git a/playground/shapes/Window.cpp b/playground/shapes/Window.cpp index da30217e..3fa17b6d 100644 --- a/playground/shapes/Window.cpp +++ b/playground/shapes/Window.cpp @@ -63,7 +63,7 @@ namespace { { 0.5, QskRgb::MediumVioletRed }, { 0.5, QskRgb::Navy } }; QskGradient gradient( stops ); - gradient.setLinearDirection( 0.5, 0.0, 0.5, 0.5 ); + gradient.setLinearDirection( 0.3, 0.7, 0.75, 0.3 ); shapeItem->setGradient( gradient ); } diff --git a/playground/shapes/shapes.qml b/playground/shapes/shapes.qml index aa029e1b..c609a157 100644 --- a/playground/shapes/shapes.qml +++ b/playground/shapes/shapes.qml @@ -60,7 +60,7 @@ Qsk.Window gradient: ({ - linear: { x1: 0.5, y1: 0, x2: 0.5, y2: 0.5 }, + linear: { x1: 0.3, y1: 0.7, x2: 0.75, y2: 0.3 }, stops: [ { position: 0.5, color: "MediumVioletRed" },