mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Add shadow behind the what's new pages
As discussed during the eCCB.
This commit is contained in:
parent
d5d163377b
commit
2299f90808
1 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtGraphicalEffects 1.12 // For the DropShadow
|
||||
|
||||
import UM 1.3 as UM
|
||||
import Cura 1.1 as Cura
|
||||
|
@ -91,6 +92,13 @@ Item
|
|||
source: manager.getSubpageImageSource(index)
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
anchors.fill: subpageImage
|
||||
radius: UM.Theme.getSize("monitor_shadow_radius").width
|
||||
color: UM.Theme.getColor("first_run_shadow")
|
||||
source: subpageImage
|
||||
}
|
||||
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
id: subpageText
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue