1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Fix ItemView sizing bug

This commit is contained in:
scrawl 2014-12-18 17:05:24 +01:00
parent f931ba2efc
commit a29abb85f1

View file

@ -56,7 +56,7 @@ void ItemView::layoutWidgets()
int x = 0;
int y = 0;
MyGUI::Widget* dragArea = mScrollView->getChildAt(0);
int maxHeight = dragArea->getHeight();
int maxHeight = mScrollView->getHeight();
int rows = maxHeight/42;
rows = std::max(rows, 1);