mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Update framework; amend ToolbarButton to use padding and Children initialiser.
This commit is contained in:
@ -47,7 +47,7 @@ namespace osu.Game.Online.Chat.Display
|
||||
Direction = FlowDirection.VerticalOnly,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
LayoutEasing = EasingTypes.Out,
|
||||
Padding = new Vector2(1, 1)
|
||||
Spacing = new Vector2(1, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ using osu.Framework.Graphics.Drawables;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Framework.Graphics.Primitives;
|
||||
|
||||
namespace osu.Game.Online.Chat.Display
|
||||
{
|
||||
@ -54,10 +55,10 @@ namespace osu.Game.Online.Chat.Display
|
||||
}
|
||||
}
|
||||
},
|
||||
new PaddingContainer
|
||||
new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Padding = new Padding { Left = padding + 10 },
|
||||
Padding = new MarginPadding { Left = padding + 10 },
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new SpriteText
|
||||
|
Reference in New Issue
Block a user