mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 09:18:59 +08:00
Increase text field width to prevent inner text from shifting
CURA-9010
This commit is contained in:
parent
79464106a9
commit
0e2848796c
@ -64,7 +64,7 @@ Item
|
|||||||
anchors.left: printJobPencilIcon.right
|
anchors.left: printJobPencilIcon.right
|
||||||
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
||||||
height: UM.Theme.getSize("jobspecs_line").height
|
height: UM.Theme.getSize("jobspecs_line").height
|
||||||
width: Math.max(contentWidth + UM.Theme.getSize("default_margin").width, 50)
|
width: Math.max(contentWidth + UM.Theme.getSize("default_margin").width + 2, 50) // add two pixels to width to prevent inner text from shifting
|
||||||
maximumLength: 120
|
maximumLength: 120
|
||||||
text: PrintInformation === null ? "" : PrintInformation.jobName
|
text: PrintInformation === null ? "" : PrintInformation.jobName
|
||||||
horizontalAlignment: TextInput.AlignLeft
|
horizontalAlignment: TextInput.AlignLeft
|
||||||
|
Loading…
x
Reference in New Issue
Block a user