mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 01:59:17 +08:00
Fix weird wrapping in monitor page
This commit is contained in:
parent
f15f01e32f
commit
7abe62a8ec
@ -44,7 +44,7 @@ Item
|
|||||||
text: printJob ? Math.round(printJob.progress * 100) + "%" : "0%"
|
text: printJob ? Math.round(printJob.progress * 100) + "%" : "0%"
|
||||||
color: printJob && printJob.isActive ? UM.Theme.getColor("text") : UM.Theme.getColor("monitor_text_disabled")
|
color: printJob && printJob.isActive ? UM.Theme.getColor("text") : UM.Theme.getColor("monitor_text_disabled")
|
||||||
width: contentWidth
|
width: contentWidth
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: UM.Theme.getSize("monitor_text_line").height
|
height: UM.Theme.getSize("monitor_text_line").height
|
||||||
}
|
}
|
||||||
@ -57,6 +57,7 @@ Item
|
|||||||
leftMargin: UM.Theme.getSize("monitor_margin").width
|
leftMargin: UM.Theme.getSize("monitor_margin").width
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
if (!printJob)
|
if (!printJob)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user