mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 15:57:52 -06:00
Use different lengths for loading skeleton and printer name
Contributes to CL-1119
This commit is contained in:
parent
2227c1debf
commit
94d48101d9
1 changed files with 4 additions and 1 deletions
|
@ -118,7 +118,10 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
id: machineNameLabel;
|
id: machineNameLabel;
|
||||||
height: UM.Theme.getSize("monitor_text_line").height;
|
height: UM.Theme.getSize("monitor_text_line").height;
|
||||||
width: Math.round(parent.width * 0.3);
|
width: {
|
||||||
|
var percent = printer ? 0.75 : 0.3;
|
||||||
|
return Math.round(parent.width * percent);
|
||||||
|
}
|
||||||
|
|
||||||
// Skeleton
|
// Skeleton
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue