1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 12:39:53 +00:00

small fix

This commit is contained in:
scrawl 2012-05-12 18:28:14 +02:00
parent 1abf70692c
commit e714b77df8

View File

@ -161,7 +161,7 @@ void ContainerBase::drawItems()
}
}
MyGUI::IntSize size = MyGUI::IntSize(std::max(mItemView->getSize().width, x), 2048);
MyGUI::IntSize size = MyGUI::IntSize(std::max(mItemView->getSize().width, x), mItemView->getSize().height);
mItemView->setCanvasSize(size);
mContainerWidget->setSize(size);
}