1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 04:24:10 +08:00

add padding spacing

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-05-25 14:37:14 +07:00
Unverified
parent ae0949fc14
commit 6257504bb6
+13 -1
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,
},
});
}
}