1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

Don't rely on default relative size of ScrollContainer.

This commit is contained in:
Thomas Müller 2017-02-17 20:08:28 +01:00
parent ecb840e26f
commit 4b0d6cd26b
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ namespace osu.Game.Online.Chat.Drawables
},
new ScrollContainer
{
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
flow = new FlowContainer

View File

@ -38,8 +38,9 @@ namespace osu.Game.Overlays
Colour = Color4.Black,
Alpha = 0.6f,
},
scrollContainer = new ScrollContainer()
scrollContainer = new ScrollContainer
{
RelativeSizeAxes = Axes.Both,
Margin = new MarginPadding { Top = Toolbar.Toolbar.HEIGHT },
Children = new[]
{