mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Add an "info textview" with a border.
This commit is contained in:
1 parent
3ddea502dc
commit
67763e48a1
3 files changed
+13
-1
No files matched your search
+7
-1
@@ -366,7 +366,13 @@ static UI::View *CreateSettingViewInner(const SettingItem &item, I18NCat pageCat
|
||||
case SettingType::Hint:
|
||||
return parent->Add(new SettingHint(text, prevView));
|
||||
case SettingType::Description:
|
||||
return parent->Add(new SettingHint(text, nullptr));
|
||||
{
|
||||
TextView *description = parent->Add(new TextView(text, FLAG_WRAP_TEXT, false, new LinearLayoutParams(FILL_PARENT, WRAP_CONTENT, Margins(0, 4))));
|
||||
description->SetTextSize(TextSize::Small);
|
||||
description->SetPadding(Margins(12));
|
||||
description->SetFrame(true);
|
||||
return description;
|
||||
}
|
||||
case SettingType::Custom:
|
||||
return item.createCustom(parent);
|
||||
case SettingType::Link:
|
||||
|
||||
Reference in new issue
Block a user