mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 07:49:04 +08:00
Fix textfield height for entering project name in DL
from eccb @fvrmr
This commit is contained in:
parent
049d8c0d35
commit
0dda27094e
@ -67,11 +67,17 @@ Item
|
||||
}
|
||||
|
||||
text: PrintInformation.jobName
|
||||
font: UM.Theme.getFont("medium")
|
||||
font: fontMetrics.font
|
||||
height: fontMetrics.height + 2 * UM.Theme.getSize("thin_margin").height
|
||||
placeholderText: "Enter the name of the file."
|
||||
onAccepted: { if (saveButton.enabled) {saveButton.clicked()}}
|
||||
}
|
||||
|
||||
FontMetrics
|
||||
{
|
||||
id: fontMetrics
|
||||
font: UM.Theme.getFont("medium")
|
||||
}
|
||||
|
||||
Rectangle
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user