mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix textfield height for entering project name in DL
from eccb @fvrmr
This commit is contained in:
parent
049d8c0d35
commit
0dda27094e
1 changed files with 7 additions and 1 deletions
|
@ -67,11 +67,17 @@ Item
|
||||||
}
|
}
|
||||||
|
|
||||||
text: PrintInformation.jobName
|
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."
|
placeholderText: "Enter the name of the file."
|
||||||
onAccepted: { if (saveButton.enabled) {saveButton.clicked()}}
|
onAccepted: { if (saveButton.enabled) {saveButton.clicked()}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FontMetrics
|
||||||
|
{
|
||||||
|
id: fontMetrics
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue