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:
authorMark <mark.suurmond@gmail.com>2017-05-22 12:21:30 +0300
committerMark <mark.suurmond@gmail.com>2017-05-31 13:46:07 +0300
commit7bc715a9bd5e61efcfef4b54f7d004b3f6248f5a (patch)
treee53158aef2dd22042836865efeb98a3433f95584 /plugins/3MFReader/WorkspaceDialog.qml
parent3177d99bcf51d33b3f543ed59e2d0c94134b9194 (diff)
fixed too big dialogs and hidden checkboxes
Diffstat (limited to 'plugins/3MFReader/WorkspaceDialog.qml')
-rw-r--r--plugins/3MFReader/WorkspaceDialog.qml17
1 files changed, 6 insertions, 11 deletions
diff --git a/plugins/3MFReader/WorkspaceDialog.qml b/plugins/3MFReader/WorkspaceDialog.qml
index 8be83f1a58..72f1f950f0 100644
--- a/plugins/3MFReader/WorkspaceDialog.qml
+++ b/plugins/3MFReader/WorkspaceDialog.qml
@@ -12,15 +12,12 @@ UM.Dialog
{
title: catalog.i18nc("@title:window", "Open Project")
- width: 550 * Screen.devicePixelRatio
- minimumWidth: 550 * Screen.devicePixelRatio
- maximumWidth: minimumWidth
+ width: 500
+ height: 400
+
+ property int comboboxHeight: 15
+ property int spacerHeight: 10
- height: 400 * Screen.devicePixelRatio
- minimumHeight: 400 * Screen.devicePixelRatio
- maximumHeight: minimumHeight
- property int comboboxHeight: 15 * Screen.devicePixelRatio
- property int spacerHeight: 10 * Screen.devicePixelRatio
onClosing: manager.notifyClosed()
onVisibleChanged:
{
@@ -34,7 +31,7 @@ UM.Dialog
Item
{
anchors.fill: parent
- anchors.margins: 20 * Screen.devicePixelRatio
+ anchors.margins: 20
UM.I18nCatalog
{
@@ -376,7 +373,6 @@ UM.Dialog
enabled: true
anchors.bottom: parent.bottom
anchors.right: ok_button.left
- anchors.bottomMargin: - 0.5 * height
anchors.rightMargin:2
}
Button
@@ -384,7 +380,6 @@ UM.Dialog
id: ok_button
text: catalog.i18nc("@action:button","Open");
onClicked: { manager.closeBackend(); manager.onOkButtonClicked() }
- anchors.bottomMargin: - 0.5 * height
anchors.bottom: parent.bottom
anchors.right: parent.right
}