Also use a themeable distance for pop-ups, not just for sticky components

This commit is contained in:
Ghostkeeper 2021-09-10 12:15:18 +02:00
parent 25e2828ed0
commit daac6faaba
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 3 additions and 2 deletions

View file

@ -75,7 +75,8 @@ Item
// Change the contentItem close behaviour
property alias contentClosePolicy : content.closePolicy
property int popupOffset: 2
// Distance between the header and the content.
property int popupOffset: 2 * UM.Theme.getSize("default_lining").height
onEnabledChanged:
{