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:
authorJaime van Kessel <nallath@gmail.com>2022-03-15 16:42:53 +0300
committerJaime van Kessel <nallath@gmail.com>2022-03-15 16:42:53 +0300
commit7148ca5d06bb03921f2da8a43b347f073ee0fcc8 (patch)
tree386ef929a0456d3ddf4f84d3249cf2caffb17ca8
parentff824b718c451e59ec0410dd6acdb1826b6fc2b9 (diff)
Fix poup rescaling the burgermenu weirdly
CURA-9007
-rw-r--r--resources/qml/Settings/SettingView.qml11
1 files changed, 8 insertions, 3 deletions
diff --git a/resources/qml/Settings/SettingView.qml b/resources/qml/Settings/SettingView.qml
index 56588ca6ca..37cc70de9d 100644
--- a/resources/qml/Settings/SettingView.qml
+++ b/resources/qml/Settings/SettingView.qml
@@ -130,8 +130,6 @@ Item
SettingVisibilityPresetsMenu
{
id: settingVisibilityPresetsMenu
- x: settingVisibilityMenu.x
- y: settingVisibilityMenu.y
onCollapseAllCategories:
{
settingsSearchTimer.stop()
@@ -154,12 +152,19 @@ Item
onClicked:
{
settingVisibilityPresetsMenu.popup(
- settingVisibilityMenu,
+ popupContainer,
-settingVisibilityPresetsMenu.width + UM.Theme.getSize("default_margin").width,
settingVisibilityMenu.height
)
}
}
+ Item
+ {
+ // Work around to prevent the buttom from being rescaled if a popup is attached
+ id: popupContainer
+ anchors.bottom: settingVisibilityMenu.bottom
+ anchors.right: settingVisibilityMenu.right
+ }
// Mouse area that gathers the scroll events to not propagate it to the main view.
MouseArea