Fix vertical layout on main screen.

This commit is contained in:
LunaMoo committed 2017-02-18 22:35:31 +01:00
1 parent d7238c39e9
commit 5ffef6d1ab
1 file changed
+1 -1
+1 -1
View File
@@ -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);