mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
initial WikiPanelMarkdownContainer
This commit is contained in:
parent
d9e898a2ee
commit
4d222467cc
@ -44,7 +44,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
},
|
||||
new WikiMarkdownContainer
|
||||
new WikiPanelMarkdownContainer
|
||||
{
|
||||
Text = Text,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
@ -52,5 +52,15 @@ namespace osu.Game.Overlays.Wiki
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private class WikiPanelMarkdownContainer : WikiMarkdownContainer
|
||||
{
|
||||
public WikiPanelMarkdownContainer()
|
||||
{
|
||||
LineSpacing = 0;
|
||||
DocumentPadding = new MarginPadding(30);
|
||||
DocumentMargin = new MarginPadding(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user