mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 15:25:02 +08:00
Change default implicitX for MaterialBrandSubMenu.
CURA-9522
This commit is contained in:
parent
e99719a08f
commit
bf30e69f08
@ -94,8 +94,6 @@ Cura.MenuItem
|
||||
// We have to keep a count of itemHovered (instead of just a bool)
|
||||
property int itemHovered: 0
|
||||
|
||||
implicitX: parent.width - UM.Theme.getSize("default_lining").width
|
||||
|
||||
MouseArea
|
||||
{
|
||||
id: submenuArea
|
||||
@ -217,6 +215,8 @@ Cura.MenuItem
|
||||
MaterialBrandSubMenu
|
||||
{
|
||||
id: colorPopup
|
||||
implicitX: parent.width
|
||||
|
||||
property int itemHovered: 0
|
||||
|
||||
Column
|
||||
|
@ -19,7 +19,7 @@ Popup
|
||||
implicitHeight: scrollViewContent.height + bottomPadding + topPadding
|
||||
|
||||
// offset position relative to the parent
|
||||
property int implicitX: parent.width
|
||||
property int implicitX: parent.width - UM.Theme.getSize("default_lining").width
|
||||
property int implicitY: -UM.Theme.getSize("thin_margin").height
|
||||
|
||||
default property alias contents: scrollViewContent.children
|
||||
|
Loading…
x
Reference in New Issue
Block a user