Fix ItemView sizing bug

moveref
scrawl 10 years ago
parent f931ba2efc
commit a29abb85f1

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

Loading…
Cancel
Save