mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 23:57:18 +09:00
add panels to grid content
This commit is contained in:
parent
24fef221e3
commit
10c4ba3a74
@ -28,6 +28,8 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
var html = new HtmlDocument();
|
var html = new HtmlDocument();
|
||||||
html.LoadHtml(Markdown);
|
html.LoadHtml(Markdown);
|
||||||
|
|
||||||
|
var panels = createPanels(html).ToArray();
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
createBlurb(html),
|
createBlurb(html),
|
||||||
@ -35,6 +37,8 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
|
RowDimensions = Enumerable.Repeat(new Dimension(GridSizeMode.AutoSize), panels.Length).ToArray(),
|
||||||
|
Content = panels,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user