mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Fix text elide/word wrap issue in monitor page
The print job name wasn't elided causing the text to overflow the progress bar card. CURA-8688
This commit is contained in:
parent
862525bc90
commit
071ddfb2b1
@ -392,6 +392,7 @@ Item
|
|||||||
id: printerJobNameLabel
|
id: printerJobNameLabel
|
||||||
color: printer && printer.activePrintJob && printer.activePrintJob.isActive ? UM.Theme.getColor("text") : UM.Theme.getColor("monitor_text_disabled")
|
color: printer && printer.activePrintJob && printer.activePrintJob.isActive ? UM.Theme.getColor("text") : UM.Theme.getColor("monitor_text_disabled")
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
font: UM.Theme.getFont("large") // 16pt, bold
|
font: UM.Theme.getFont("large") // 16pt, bold
|
||||||
text: printer && printer.activePrintJob ? printer.activePrintJob.name : catalog.i18nc("@label", "Untitled")
|
text: printer && printer.activePrintJob ? printer.activePrintJob.name : catalog.i18nc("@label", "Untitled")
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user