mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
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:
1 parent
b9cd883811
commit
5ea54d991e
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user