mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 07:41:18 -07:00
Add the linear gradient back, that I removed in a previous commit
Contributes to CURA-6010.
This commit is contained in:
parent
b55ead8c89
commit
4b9e6e7708
1 changed files with 25 additions and 1 deletions
|
|
@ -98,7 +98,31 @@ UM.MainWindow
|
||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
height: stageMenu.source != "" ? Math.round(mainWindowHeader.height + stageMenu.height / 2) : mainWindowHeader.height
|
height: stageMenu.source != "" ? Math.round(mainWindowHeader.height + stageMenu.height / 2) : mainWindowHeader.height
|
||||||
color: UM.Theme.getColor("main_window_header_background")
|
|
||||||
|
LinearGradient
|
||||||
|
{
|
||||||
|
anchors.fill: parent
|
||||||
|
start: Qt.point(0, 0)
|
||||||
|
end: Qt.point(parent.width, 0)
|
||||||
|
gradient: Gradient
|
||||||
|
{
|
||||||
|
GradientStop
|
||||||
|
{
|
||||||
|
position: 0.0
|
||||||
|
color: UM.Theme.getColor("main_window_header_background")
|
||||||
|
}
|
||||||
|
GradientStop
|
||||||
|
{
|
||||||
|
position: 0.5
|
||||||
|
color: UM.Theme.getColor("main_window_header_background_gradient")
|
||||||
|
}
|
||||||
|
GradientStop
|
||||||
|
{
|
||||||
|
position: 1.0
|
||||||
|
color: UM.Theme.getColor("main_window_header_background")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// This is the new fancy pattern
|
// This is the new fancy pattern
|
||||||
Image
|
Image
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue