mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08:00
Fix binding loop
CURA-6598
This commit is contained in:
parent
994e0e53cc
commit
423b4ad869
@ -61,6 +61,8 @@ Item
|
|||||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
|
baselineOffset: null // If we don't do this, there is a binding loop. WHich is a bit weird, since we override the contentItem anyway...
|
||||||
|
|
||||||
contentItem: Label
|
contentItem: Label
|
||||||
{
|
{
|
||||||
id: textLabel
|
id: textLabel
|
||||||
|
@ -20,6 +20,7 @@ Popup
|
|||||||
topPadding: UM.Theme.getSize("narrow_margin").height
|
topPadding: UM.Theme.getSize("narrow_margin").height
|
||||||
rightPadding: UM.Theme.getSize("default_lining").width
|
rightPadding: UM.Theme.getSize("default_lining").width
|
||||||
leftPadding: UM.Theme.getSize("default_lining").width
|
leftPadding: UM.Theme.getSize("default_lining").width
|
||||||
|
|
||||||
padding: 0
|
padding: 0
|
||||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
||||||
background: Cura.RoundedRectangle
|
background: Cura.RoundedRectangle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user