Communicate shadow size to the system for SeparatePanel

This commit is contained in:
Ilya Fedin 2024-05-16 11:12:23 +04:00 committed by John Preston
parent 3aeeec3dfc
commit ebe8e91b4d

View file

@ -676,6 +676,12 @@ void SeparatePanel::initGeometry(QSize size) {
}();
move(rect.topLeft());
setFixedSize(rect.size());
createWinId();
if (_useTransparency) {
Platform::SetWindowMargins(this, _padding);
} else {
Platform::UnsetWindowMargins(this);
}
updateControlsGeometry();
}