Fix AutoSize references.

This commit is contained in:
Dean Herbert
2016-10-22 17:50:42 +09:00
parent e26a9de5b5
commit cdef75c98b
10 changed files with 34 additions and 14 deletions

View File

@ -15,7 +15,7 @@ namespace osu.Game.Online.Chat.Display
{
namespace osu.Online.Social
{
public class ChatLine : AutoSizeContainer
public class ChatLine : Container
{
public readonly Message Message;
@ -32,6 +32,7 @@ namespace osu.Game.Online.Chat.Display
base.Load(game);
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
Children = new Drawable[]
{
@ -55,9 +56,10 @@ namespace osu.Game.Online.Chat.Display
}
}
},
new AutoSizeContainer
new Container
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Padding = new MarginPadding { Left = padding + 10 },
Children = new Drawable[]
{