mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 15:07:43 +00:00
Fixed some DPI-switching borks
This commit is contained in:
@@ -144,6 +144,8 @@ void Toolbar::resetResources(ViewResources& res)
|
||||
m_padding = res.pixelFactor() * TOOLBAR_PADDING;
|
||||
setBackground(res.themeData().toolbarBackground());
|
||||
updateSize();
|
||||
for (Child& c : m_children)
|
||||
c.m_view->resetResources(res);
|
||||
}
|
||||
|
||||
void Toolbar::resized(const boo::SWindowRect& root, const boo::SWindowRect& sub)
|
||||
|
||||
Reference in New Issue
Block a user