More topbar styling

This commit is contained in:
Henrik Rydgård
2025-10-29 09:39:09 +01:00
parent b946a29fd7
commit 89b3abbe7b
5 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ void UISimpleBaseDialogScreen::CreateViews() {
const bool portrait = UsePortraitLayout();
root_ = new LinearLayout(ORIENT_VERTICAL, new LayoutParams(FILL_PARENT, FILL_PARENT));
root_->Add(new TopBar(*screenManager()->getUIContext(), GetTitle()));
root_->Add(new TopBar(*screenManager()->getUIContext(), portrait, GetTitle()));
if (canScroll) {
ScrollView *scroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f));