1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

fixed a stats window resizing problem that I introduced today

This commit is contained in:
scrawl 2012-09-10 21:58:19 +02:00
parent 6c03d7aec4
commit 4977c33e4c

View file

@ -86,6 +86,7 @@ void StatsWindow::onWindowResize(MyGUI::Window* window)
{
mLeftPane->setCoord( MyGUI::IntCoord(0, 0, 0.44*window->getSize().width, window->getSize().height) );
mRightPane->setCoord( MyGUI::IntCoord(0.44*window->getSize().width, 0, 0.56*window->getSize().width, window->getSize().height) );
mSkillView->setCanvasSize (mSkillView->getWidth(), std::max(mSkillView->getHeight(), mClientHeight));
}
void StatsWindow::setBar(const std::string& name, const std::string& tname, int val, int max)