Indentation

This commit is contained in:
DrabWeb 2017-05-19 16:22:54 -03:00
parent 74ed4cf0e3
commit 1bd13a8361
2 changed files with 19 additions and 19 deletions

View File

@ -53,24 +53,24 @@ public SortTabItem(SortCriteria value) : base(value)
Children = new Drawable[]
{
new OsuSpriteText
{
Margin = new MarginPadding { Top = 8, Bottom = 8 },
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
Text = (value as Enum)?.GetDescription() ?? value.ToString(),
TextSize = 14,
Font = @"Exo2.0-Bold",
},
box = new Box
{
RelativeSizeAxes = Axes.X,
Height = 5,
Scale = new Vector2(1f, 0f),
Colour = Color4.White,
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
},
new OsuSpriteText
{
Margin = new MarginPadding { Top = 8, Bottom = 8 },
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
Text = (value as Enum)?.GetDescription() ?? value.ToString(),
TextSize = 14,
Font = @"Exo2.0-Bold",
},
box = new Box
{
RelativeSizeAxes = Axes.X,
Height = 5,
Scale = new Vector2(1f, 0f),
Colour = Color4.White,
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
},
};
}

View File

@ -29,7 +29,7 @@ public IEnumerable<BeatmapSetInfo> BeatmapSets
var p = new List<DirectPanel>();
foreach (BeatmapSetInfo b in value)
p.Add(new DirectListPanel(b));
p.Add(new DirectListPanel(b)); //todo: proper switching between grid/list
panels.Children = p;
}