mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Rework the reporting screen a bit
This commit is contained in:
1 parent
217e7c94a4
commit
6cc945e57a
9 files changed
+122
-107
No files matched your search
@@ -54,11 +54,15 @@ void UITwoPaneBaseDialogScreen::CreateViews() {
|
||||
}, nullptr));
|
||||
});
|
||||
} else {
|
||||
ScrollView *settingsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f, Margins(8)));
|
||||
LinearLayout *settingsPane = new LinearLayout(ORIENT_VERTICAL);
|
||||
settingsScroll->Add(settingsPane);
|
||||
LinearLayout *settingsPane = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT));
|
||||
if (flags_ & TwoPaneFlags::SettingsCanScroll) {
|
||||
ScrollView *settingsScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f, Margins(8)));
|
||||
settingsScroll->Add(settingsPane);
|
||||
root->Add(settingsScroll);
|
||||
} else {
|
||||
root->Add(settingsPane);
|
||||
}
|
||||
CreateSettingsViews(settingsPane);
|
||||
root->Add(settingsScroll);
|
||||
}
|
||||
root_ = root;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user