diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b347d1..3226684 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog of Cura-DuetRRFPlugin +## v1.2.1: next + * fix button width on high-dpi screens + ## v1.2.0: 2021-01-10 * store settings in local preferences instead of sharable metadata * use managed HttpRequestManager instead of low-level QNetworkAccessManager diff --git a/resources/qml/DuetRRFAction.qml b/resources/qml/DuetRRFAction.qml index 16c560b..80d4d12 100644 --- a/resources/qml/DuetRRFAction.qml +++ b/resources/qml/DuetRRFAction.qml @@ -92,7 +92,7 @@ Cura.MachineAction Button { id: saveButton; text: catalog.i18nc("@action:button", "Save Config"); - width: 100; + width: screenScaleFactor * 100; onClicked: { manager.saveConfig(urlField.text, duet_passwordField.text, http_userField.text, http_passwordField.text); actionDialog.reject(); @@ -103,7 +103,7 @@ Cura.MachineAction Button { id: deleteButton; text: catalog.i18nc("@action:button", "Delete Config"); - width: 100; + width: screenScaleFactor * 100; onClicked: { manager.deleteConfig(); actionDialog.reject();