1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 05:07:26 +08:00

Update LoginForm.cs

This commit is contained in:
Ethan 2023-04-28 19:51:10 +08:00
parent 6308bef0c8
commit ae85e2a3ff

View File

@ -42,10 +42,14 @@ namespace osu.Game.Overlays.Login
private void load(OsuConfigManager config, AccountCreationOverlay accountCreation)
{
Direction = FillDirection.Vertical;
Spacing = new Vector2(0, 5);
Spacing = new Vector2(0, SettingsSection.ITEM_SPACING);
AutoSizeAxes = Axes.Y;
RelativeSizeAxes = Axes.X;
Padding = new MarginPadding
{
Top = 5,
Bottom = 24,
};
ErrorTextFlowContainer errorText;
LinkFlowContainer forgottenPaswordLink;
@ -81,7 +85,11 @@ namespace osu.Game.Overlays.Login
},
forgottenPaswordLink = new LinkFlowContainer
{
Padding = new MarginPadding { Left = SettingsPanel.CONTENT_MARGINS },
Padding = new MarginPadding
{
Left = SettingsPanel.CONTENT_MARGINS,
Bottom = SettingsSection.ITEM_SPACING
},
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
},