mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat(dock): when insert app or remove app , the app widget don't move to
correct area
This commit is contained in:
parent
0a4ef381d1
commit
8793d0166e
@ -469,6 +469,10 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event)
|
|||||||
if (event->type() == QEvent::LayoutRequest) {
|
if (event->type() == QEvent::LayoutRequest) {
|
||||||
m_appAreaSonWidget->adjustSize();
|
m_appAreaSonWidget->adjustSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event->type() == QEvent::Resize) {
|
||||||
|
moveAppSonWidget();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (watched == m_appAreaWidget) {
|
if (watched == m_appAreaWidget) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user