mirror of https://github.com/ppy/osu
initial WikiPanelMarkdownContainer
This commit is contained in:
parent
d9e898a2ee
commit
4d222467cc
|
@ -44,7 +44,7 @@ private void load()
|
|||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
},
|
||||
new WikiMarkdownContainer
|
||||
new WikiPanelMarkdownContainer
|
||||
{
|
||||
Text = Text,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
|
@ -52,5 +52,15 @@ private void load()
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
private class WikiPanelMarkdownContainer : WikiMarkdownContainer
|
||||
{
|
||||
public WikiPanelMarkdownContainer()
|
||||
{
|
||||
LineSpacing = 0;
|
||||
DocumentPadding = new MarginPadding(30);
|
||||
DocumentMargin = new MarginPadding(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue