mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update usage of FlowContainer and its subclasses
This commit is contained in:
@ -86,7 +86,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
new FlowContainer
|
||||
{
|
||||
Padding = new MarginPadding(5),
|
||||
Direction = FlowDirections.Horizontal,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
@ -101,15 +101,14 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
new FlowContainer
|
||||
{
|
||||
Padding = new MarginPadding { Left = 5 },
|
||||
Direction = FlowDirections.Vertical,
|
||||
FlowStrategy = FlowStrategies.GetVerticalFlow(),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new FlowContainer
|
||||
{
|
||||
Direction = FlowDirections.Horizontal,
|
||||
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(4, 0)),
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Spacing = new Vector2(4, 0),
|
||||
Children = new[]
|
||||
{
|
||||
new OsuSpriteText
|
||||
|
Reference in New Issue
Block a user