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 Burton <burtoogle@gmail.com>2020-06-04 13:29:23 +0300
committerMark Burton <burtoogle@gmail.com>2020-06-04 13:30:13 +0300
commit74984ca12a56f4e39a6077a839528c1bb4f961cd (patch)
treec3f3495dbf89780b0d831f987cf82990615d87af /resources/qml/Toolbar.qml
parent700533b4aa60105dde4a029c1a2f151b33b6313d (diff)
Stop panel growing above first tool button.
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r--resources/qml/Toolbar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index db6c75f280..da986cf0bf 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -246,7 +246,7 @@ Item
}
PropertyChanges {
target: panelBorder
- anchors.bottomMargin: -(base.activeY + UM.Theme.getSize("button").height)
+ anchors.bottomMargin: ((base.activeY + UM.Theme.getSize("button").height) > panelBorder.height) ? -(base.activeY + UM.Theme.getSize("button").height) : -panelBorder.height
}
}
]