mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: dock position changed from left to bottom no date display
update dateFont size when DateTimeDisplayer size changed. log: fix no date display on dock when postion change from left to bottom
This commit is contained in:
parent
e5f7833b6a
commit
ab58721930
@ -419,6 +419,7 @@ bool DateTimeDisplayer::event(QEvent *event)
|
||||
m_timeFont = timeFont();
|
||||
Q_EMIT requestUpdate();
|
||||
} else if (event->type() == QEvent::Resize) {
|
||||
m_dateFont = DFontSizeManager::instance()->t10();
|
||||
m_timeFont = timeFont();
|
||||
}
|
||||
return QWidget::event(event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user