mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Apply review suggestion.
This commit is contained in:
parent
ea29f7c344
commit
b1b3e01abd
@ -26,14 +26,20 @@ namespace osu.Game.Online.Placeholders
|
|||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
|
|
||||||
Child = new OsuTextFlowContainer(cp => cp.Font = cp.Font.With(size: TEXT_SIZE))
|
var textFlowContainer = new OsuTextFlowContainer(cp => cp.Font = cp.Font.With(size: TEXT_SIZE))
|
||||||
.With(t => t.AutoSizeAxes = Axes.Both)
|
{
|
||||||
.With(t => t.AddIcon(FontAwesome.Solid.UserLock, icon =>
|
AutoSizeAxes = Axes.Both,
|
||||||
{
|
Margin = new MarginPadding(5)
|
||||||
icon.Padding = new MarginPadding { Right = 10 };
|
};
|
||||||
}))
|
|
||||||
.With(t => t.AddText(actionMessage))
|
Child = textFlowContainer;
|
||||||
.With(t => t.Margin = new MarginPadding(5));
|
|
||||||
|
textFlowContainer.AddIcon(FontAwesome.Solid.UserLock, icon =>
|
||||||
|
{
|
||||||
|
icon.Padding = new MarginPadding { Right = 10 };
|
||||||
|
});
|
||||||
|
|
||||||
|
textFlowContainer.AddText(actionMessage);
|
||||||
|
|
||||||
Action = () => login?.Show();
|
Action = () => login?.Show();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user