mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
More spacing issues
This commit is contained in:
1 parent
08931322b4
commit
1b3ab1619f
2 files changed
+4
-4
No files matched your search
@@ -250,7 +250,7 @@ void MessagePopupScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
std::vector<std::string_view> messageLines;
|
||||
SplitString(message_, '\n', messageLines);
|
||||
for (auto lineOfText : messageLines) {
|
||||
parent->Add(new UI::TextView(lineOfText, ALIGN_LEFT | ALIGN_VCENTER | FLAG_WRAP_TEXT, false, new LinearLayoutParams(Margins(0, 12))));
|
||||
parent->Add(new UI::TextView(lineOfText, ALIGN_LEFT | ALIGN_VCENTER | FLAG_WRAP_TEXT, false));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@ public:
|
||||
UI::LinearLayout::Update();
|
||||
// Propagate rounding flags. TODO: Figure out a more general way.
|
||||
if (macInput_) {
|
||||
macInput_->SetRoundCorners((RoundCorners)((u32)roundCorners_ & (u32)RoundCorners::BottomLeft));
|
||||
macInput_->SetRoundCorners((RoundCorners)((u32)roundCorners_ & (u32)RoundCorners::Left));
|
||||
}
|
||||
if (randomize_) {
|
||||
randomize_->SetRoundCorners((RoundCorners)((u32)roundCorners_ & (u32)RoundCorners::BottomRight));
|
||||
randomize_->SetRoundCorners((RoundCorners)((u32)roundCorners_ & (u32)RoundCorners::Right));
|
||||
}
|
||||
}
|
||||
private:
|
||||
@@ -80,7 +80,7 @@ MacAddressChooser::MacAddressChooser(RequesterToken token, Path gamePath, std::s
|
||||
|
||||
std::string_view confirmMessage = n->T("ChangeMacSaveConfirm", "Generate a new MAC address?");
|
||||
std::string_view warningMessage = n->T("ChangeMacSaveWarning", "Some games verify the MAC address when loading savedata, so this may break old saves.");
|
||||
std::string combined = g_Config.sMACAddress + "\n\n" + std::string(confirmMessage) + "\n\n" + std::string(warningMessage);
|
||||
std::string combined = g_Config.sMACAddress + "\n" + std::string(confirmMessage) + "\n" + std::string(warningMessage);
|
||||
|
||||
auto confirmScreen = new MessagePopupScreen(
|
||||
title,
|
||||
|
||||
Reference in new issue
Block a user