mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +08:00
Fix popup alignment
CURA-8640
This commit is contained in:
parent
938ff691c4
commit
5df5d6c37d
@ -87,8 +87,8 @@ Cura.MenuItem
|
||||
Popup
|
||||
{
|
||||
id: menuPopup
|
||||
x: parent.width
|
||||
y: 0
|
||||
x: parent.width - UM.Theme.getSize("default_lining").width
|
||||
y: -UM.Theme.getSize("default_lining").width
|
||||
width: materialTypesList.width + padding * 2
|
||||
height: materialTypesList.height + padding * 2
|
||||
|
||||
@ -223,7 +223,7 @@ Cura.MenuItem
|
||||
width: materialColorsList.width + padding * 2
|
||||
height: materialColorsList.height + padding * 2
|
||||
x: parent.width
|
||||
y: 0
|
||||
y: -UM.Theme.getSize("default_lining").width
|
||||
|
||||
property int itemHovered: 0
|
||||
padding: background.border.width
|
||||
|
Loading…
x
Reference in New Issue
Block a user