2021-04-30 02:43:05 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
using osuTK;
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.Containers.Markdown
|
|
|
|
{
|
|
|
|
public class OsuMarkdownListItem : FillFlowContainer
|
|
|
|
{
|
2021-04-30 02:47:25 +00:00
|
|
|
private const float default_left_padding = 20;
|
|
|
|
|
2021-04-30 02:43:05 +00:00
|
|
|
public OsuMarkdownListItem()
|
|
|
|
{
|
|
|
|
AutoSizeAxes = Axes.Y;
|
|
|
|
RelativeSizeAxes = Axes.X;
|
|
|
|
|
|
|
|
Direction = FillDirection.Vertical;
|
|
|
|
Spacing = new Vector2(10, 10);
|
2021-04-30 02:47:25 +00:00
|
|
|
Padding = new MarginPadding { Left = default_left_padding };
|
2021-04-30 02:43:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|