From 9d26c3a7c99f14a41a32a9c8e7782b29021ad147 Mon Sep 17 00:00:00 2001 From: iota97 Date: Mon, 2 Mar 2020 12:03:01 +0100 Subject: [PATCH] Fix weight --- UI/MainScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 50d6d23348..ca4bd88191 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -1452,7 +1452,7 @@ void GridSettingsScreen::CreatePopupContents(UI::ViewGroup *parent) { auto di = GetI18NCategory("Dialog"); auto sy = GetI18NCategory("System"); - ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT, 1.0f)); + ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)); LinearLayout *items = new LinearLayout(ORIENT_VERTICAL); items->Add(new CheckBox(&g_Config.bGridView1, sy->T("Display Recent on a grid")));