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:
parent
6c03d7aec4
commit
4977c33e4c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue