diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-03-24 12:31:10 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-03-24 12:31:10 +0300 |
commit | 0dda27094edfabf9e588a15c658a6b29b7115f9f (patch) | |
tree | d0ae4fc6c8a16e7c7f11fb977b2129f10cb361c1 /plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | |
parent | 049d8c0d35906918ba22a9d3c7c57b8df9beb2d3 (diff) |
Fix textfield height for entering project name in DL
from eccb @fvrmr
Diffstat (limited to 'plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml')
-rw-r--r-- | plugins/DigitalLibrary/resources/qml/SaveProjectFilesPage.qml | 8 |
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 { |