initial WikiPanelMarkdownContainer

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-23 18:00:54 +07:00
parent d9e898a2ee
commit 4d222467cc
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2
1 changed files with 11 additions and 1 deletions

View File

@ -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);
}
}
}
}