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);
}