Merge branch 'fix_visibilitymenu_style' of https://github.com/fieldOfView/Cura

This commit is contained in:
Jaime van Kessel 2021-06-01 16:33:10 +02:00
commit 6fc1088cdb
No known key found for this signature in database
GPG key ID: 3710727397403C91
6 changed files with 127 additions and 7 deletions

View file

@ -199,7 +199,14 @@ Item
label: Label {}
}
onClicked: settingVisibilityPresetsMenu.open()
onClicked:
{
settingVisibilityPresetsMenu.popup(
settingVisibilityMenu,
-settingVisibilityPresetsMenu.width + UM.Theme.getSize("default_margin").width,
settingVisibilityMenu.height
)
}
}
// Mouse area that gathers the scroll events to not propagate it to the main view.