forked from teamnwah/openmw-tes3coop
small fix
This commit is contained in:
parent
1abf70692c
commit
e714b77df8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue