mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:19:04 +08:00
Hacky fix for mouseArea bug.
CURA-9522
This commit is contained in:
parent
e532e13e06
commit
12701b7dac
@ -12,11 +12,13 @@ Popup
|
|||||||
{
|
{
|
||||||
id: materialBrandSubMenu
|
id: materialBrandSubMenu
|
||||||
|
|
||||||
bottomPadding: UM.Theme.getSize("thin_margin").height
|
// There is a bug where hovering the bottom half of the last element causes the popup to close.
|
||||||
|
// Undo this commit if you find a fix.
|
||||||
|
bottomPadding: -UM.Theme.getSize("thin_margin").height
|
||||||
topPadding: UM.Theme.getSize("thin_margin").height
|
topPadding: UM.Theme.getSize("thin_margin").height
|
||||||
|
|
||||||
implicitWidth: scrollViewContent.width + scrollbar.width + leftPadding + rightPadding
|
implicitWidth: scrollViewContent.width + scrollbar.width + leftPadding + rightPadding
|
||||||
implicitHeight: scrollViewContent.height + bottomPadding + topPadding
|
implicitHeight: scrollViewContent.height + bottomPadding + topPadding + (2 * UM.Theme.getSize("thin_margin").height)
|
||||||
|
|
||||||
// offset position relative to the parent
|
// offset position relative to the parent
|
||||||
property int implicitX: parent.width - UM.Theme.getSize("default_lining").width
|
property int implicitX: parent.width - UM.Theme.getSize("default_lining").width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user