mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 09:39:00 +08:00
Re-add header background
This commit is contained in:
parent
2c09c83896
commit
814b706641
@ -170,30 +170,11 @@ UM.MainWindow
|
|||||||
}
|
}
|
||||||
height: stageMenu.source != "" ? Math.round(mainWindowHeader.height + stageMenu.height / 2) : mainWindowHeader.height
|
height: stageMenu.source != "" ? Math.round(mainWindowHeader.height + stageMenu.height / 2) : mainWindowHeader.height
|
||||||
|
|
||||||
/*LinearGradient
|
Rectangle
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
start: Qt.point(0, 0)
|
color: UM.Theme.getColor("main_window_header_background")
|
||||||
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 a placeholder for adding a pattern in the header
|
// This is a placeholder for adding a pattern in the header
|
||||||
Image
|
Image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user