mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 19:15:53 +08:00
Merge branch 'small_ui_fixes' into ui_rework_4_0
This commit is contained in:
commit
9bce373520
@ -98,12 +98,36 @@ 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
|
||||||
{
|
{
|
||||||
id: backgourndPattern
|
id: backgroundPattern
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
fillMode: Image.Tile
|
fillMode: Image.Tile
|
||||||
source: UM.Theme.getImage("header_pattern")
|
source: UM.Theme.getImage("header_pattern")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user