mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 20:59:11 +08:00
Change the size of the progress bar control. Also add the rounded
rectangle. Contributes to the new Cura UI-Flow.
This commit is contained in:
parent
1844a9bed2
commit
895590c3d0
@ -515,6 +515,7 @@ QtObject
|
|||||||
implicitWidth: Theme.getSize("message").width - (Theme.getSize("default_margin").width * 2)
|
implicitWidth: Theme.getSize("message").width - (Theme.getSize("default_margin").width * 2)
|
||||||
implicitHeight: Theme.getSize("progressbar").height
|
implicitHeight: Theme.getSize("progressbar").height
|
||||||
color: control.hasOwnProperty("backgroundColor") ? control.backgroundColor : Theme.getColor("progressbar_background")
|
color: control.hasOwnProperty("backgroundColor") ? control.backgroundColor : Theme.getColor("progressbar_background")
|
||||||
|
radius: Theme.getSize("progressbar_radius").width
|
||||||
}
|
}
|
||||||
progress: Rectangle
|
progress: Rectangle
|
||||||
{
|
{
|
||||||
|
@ -448,7 +448,7 @@
|
|||||||
|
|
||||||
"progressbar": [26.0, 0.75],
|
"progressbar": [26.0, 0.75],
|
||||||
"progressbar_radius": [0.15, 0.15],
|
"progressbar_radius": [0.15, 0.15],
|
||||||
"progressbar_control": [8.0, 0.4],
|
"progressbar_control": [8.0, 0.75],
|
||||||
|
|
||||||
"scrollbar": [0.75, 0.5],
|
"scrollbar": [0.75, 0.5],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user