feat(dde-dock): for task 11933

This commit is contained in:
wangxuwen 2019-11-19 10:36:21 +08:00
parent 97e7e34d72
commit 4ae94f4ba5

View File

@ -465,6 +465,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event)
if (event->type() == QEvent::Resize) {
moveAppSonWidget();
m_trayAreaWidget->adjustSize();
}
}
@ -869,8 +870,6 @@ void MainPanelControl::calcuDockIconSize(int w, int h, PluginsItem *trashPlugin,
if (keyboardPlugin)
keyboardPlugin->setFixedSize(w - 20, tray_item_size);
}
m_trayAreaWidget->adjustSize();
}
void MainPanelControl::getTrayVisableItemCount()