mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 19:29:09 +08:00
Fix display of UM monitor page
This commit is contained in:
parent
e0ec64ee0e
commit
4520fc15f9
@ -38,24 +38,10 @@ Item
|
|||||||
}
|
}
|
||||||
height: parent.height
|
height: parent.height
|
||||||
z: 10
|
z: 10
|
||||||
LinearGradient
|
Rectangle
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
start: Qt.point(0, 0)
|
color: UM.Theme.getColor("monitor_stage_background")
|
||||||
end: Qt.point(leftHint.width, 0)
|
|
||||||
gradient: Gradient
|
|
||||||
{
|
|
||||||
GradientStop
|
|
||||||
{
|
|
||||||
position: 0.0
|
|
||||||
color: UM.Theme.getColor("monitor_stage_background")
|
|
||||||
}
|
|
||||||
GradientStop
|
|
||||||
{
|
|
||||||
position: 1.0
|
|
||||||
color: UM.Theme.getColor("monitor_stage_background_fade")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
@ -193,24 +179,11 @@ Item
|
|||||||
height: centerSection.height
|
height: centerSection.height
|
||||||
z: 10
|
z: 10
|
||||||
|
|
||||||
LinearGradient
|
Rectangle
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
start: Qt.point(0, 0)
|
color: UM.Theme.getColor("monitor_stage_background_fade")
|
||||||
end: Qt.point(rightHint.width, 0)
|
|
||||||
gradient: Gradient
|
|
||||||
{
|
|
||||||
GradientStop
|
|
||||||
{
|
|
||||||
position: 0.0
|
|
||||||
color: UM.Theme.getColor("monitor_stage_background_fade")
|
|
||||||
}
|
|
||||||
GradientStop
|
|
||||||
{
|
|
||||||
position: 1.0
|
|
||||||
color: UM.Theme.getColor("monitor_stage_background")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user