2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 17:47:42 +00:00

FileBrowser column resizing and navigation

This commit is contained in:
Jack Andersen
2016-01-01 16:26:04 -10:00
parent 35ad8827a7
commit 8959431a2b
11 changed files with 652 additions and 92 deletions

View File

@@ -276,6 +276,8 @@ void Button::resized(const boo::SWindowRect& root, const boo::SWindowRect& sub)
if (m_style == Style::Block)
textRect.location[1] += 7 * pf;
textRect.location[0] += sub.size[0] / 2;
textRect.size[0] = m_nomWidth;
textRect.size[1] = m_nomHeight;
m_text->resized(root, textRect);
}