Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-03-24 12:31:10 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-03-24 12:31:10 +0300
commit0dda27094edfabf9e588a15c658a6b29b7115f9f (patch)
treed0ae4fc6c8a16e7c7f11fb977b2129f10cb361c1
parent049d8c0d35906918ba22a9d3c7c57b8df9beb2d3 (diff)
Fix textfield height for entering project name in DL
from eccb @fvrmr
-rw-r--r--plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml
index 5cf0d571fe..fa648d8bc2 100644
--- a/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml
+++ b/plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml
@@ -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
{