From 5ffef6d1ab52c875c010cef3b590ccc1ca225de1 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Sat, 18 Feb 2017 22:35:31 +0100 Subject: [PATCH] Fix vertical layout on main screen. --- UI/MainScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 78fe1cd5c0..b014a0888c 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -857,7 +857,7 @@ void MainScreen::CreateViews() { if (vertical) { root_ = new LinearLayout(ORIENT_VERTICAL); - rightColumn->ReplaceLayoutParams(new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT)); + rightColumn->ReplaceLayoutParams(new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT, 0.75)); leftColumn->ReplaceLayoutParams(new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT, 1.0)); root_->Add(rightColumn); root_->Add(leftColumn);