1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

add padding spacing

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-25 14:37:14 +07:00
parent ae0949fc14
commit 6257504bb6
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -59,7 +59,12 @@ namespace osu.Game.Overlays
{
LoadDisplay(new WikiMainPage
{
Markdown = response.Markdown
Markdown = response.Markdown,
Padding = new MarginPadding
{
Vertical = 20,
Horizontal = 50,
},
});
}
else
@ -70,6 +75,13 @@ namespace osu.Game.Overlays
AutoSizeAxes = Axes.Y,
CurrentPath = $"{path.Value}/",
Text = response.Markdown,
DocumentMargin = new MarginPadding(0),
DocumentPadding = new MarginPadding
{
Vertical = 20,
Left = 30,
Right = 50,
},
});
}
}