Set content in profile sections.

This commit is contained in:
Huo Yaoyuan
2017-06-09 14:53:00 +08:00
parent c31dd7a480
commit 5a0bd3b695
9 changed files with 37 additions and 13 deletions

View File

@ -94,7 +94,8 @@ namespace osu.Game.Graphics.Containers
=> new FillFlowContainer
{
Direction = FillDirection.Vertical,
AutoSizeAxes = Axes.Both
AutoSizeAxes = Axes.Y,
RelativeSizeAxes = Axes.X,
};
private List<Drawable> sections = new List<Drawable>();
@ -133,7 +134,7 @@ namespace osu.Game.Graphics.Containers
Add(ScrollContainer = new ScrollContainer()
{
RelativeSizeAxes = Axes.Both,
Masking = false,
Masking = true,
Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() },
Depth = float.MaxValue
});