A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using osuTK;
5
6namespace osu.Framework.Graphics.Containers.Markdown
7{
8 /// <summary>
9 /// Visualises a list.
10 /// </summary>
11 /// <code>
12 /// * item 1
13 /// * item 2
14 /// </code>
15 public class MarkdownList : FillFlowContainer
16 {
17 public MarkdownList()
18 {
19 AutoSizeAxes = Axes.Y;
20 RelativeSizeAxes = Axes.X;
21
22 Direction = FillDirection.Vertical;
23
24 Spacing = new Vector2(10, 10);
25 Padding = new MarginPadding { Left = 25, Right = 5 };
26 }
27 }
28}