UI: Fix dev menu scroll on small screens.

The scroll thought it could be as tall as the screen, due to FILL_PARENT.
Maybe that should always use a weight...
This commit is contained in:
Unknown W. Brackets 2017-12-30 01:10:17 -08:00
parent b9cd883811
commit 5ea54d991e

View file

@ -60,7 +60,7 @@ void DevMenu::CreatePopupContents(UI::ViewGroup *parent) {
I18NCategory *dev = GetI18NCategory("Developer");
I18NCategory *sy = GetI18NCategory("System");
ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT));
ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT, 1.0f));
LinearLayout *items = new LinearLayout(ORIENT_VERTICAL);
#if !defined(MOBILE_DEVICE)