adjust mainItem position to borders
also in syncToMainItemSize() we need to reposition mainItem, not only in the other way around syncMainItemToSize()
This commit is contained in:
parent
042c4d815a
commit
3df85902ec
@ -389,6 +389,8 @@ void DialogPrivate::syncToMainItemSize()
|
||||
q->resize(s);
|
||||
}
|
||||
syncBorders();
|
||||
mainItem.data()->setX(frameSvgItem->margins()->left());
|
||||
mainItem.data()->setY(frameSvgItem->margins()->top());
|
||||
KWindowEffects::enableBlurBehind(q->winId(), true, frameSvgItem->frameSvg()->mask());
|
||||
updateContrast();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user