Fix display of UM monitor page

This commit is contained in:
Jaime van Kessel 2022-04-01 13:45:11 +02:00
parent e0ec64ee0e
commit 4520fc15f9

View File

@ -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
{ {