mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 06:09:38 +08:00
Also use a themeable distance for pop-ups, not just for sticky components
This commit is contained in:
parent
25e2828ed0
commit
daac6faaba
@ -76,7 +76,7 @@ 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
|
||||
|
||||
// Distance between the header and the content if the content is a pop-up.
|
||||
// Distance between the header and the content.
|
||||
property int popupOffset: 2 * UM.Theme.getSize("default_lining").height
|
||||
|
||||
// Prefix used for the dragged position preferences. Preferences not used if empty. Don't translate!
|
||||
|
@ -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:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user