2
0
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:
Jack Andersen
2015-12-07 18:26:29 -10:00
parent d923e9eedd
commit cb8d7145c2
6 changed files with 29 additions and 4 deletions

View File

@@ -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)