Change style, added close popitem close behaviour

CURA-5941
This commit is contained in:
Aleksei S 2018-11-27 15:05:35 +01:00
parent 8784ecd49a
commit d47806de50
3 changed files with 20 additions and 22 deletions

View file

@ -49,6 +49,9 @@ Item
// On what side should the header corners be shown? 1 is down, 2 is left, 3 is up and 4 is right.
property alias headerCornerSide: background.cornerSide
// Change the popupItem close behaviour
property alias popupClosePolicy : popup.closePolicy
function togglePopup()
{
if(popup.visible)