Communicate shadow size to the system for SeparatePanel
This commit is contained in:
parent
3aeeec3dfc
commit
ebe8e91b4d
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue