mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Fix poup rescaling the burgermenu weirdly
CURA-9007
This commit is contained in:
parent
ff824b718c
commit
7148ca5d06
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue