mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Don't rely on default relative size of ScrollContainer.
This commit is contained in:
parent
ecb840e26f
commit
4b0d6cd26b
@ -38,6 +38,7 @@ namespace osu.Game.Online.Chat.Drawables
|
||||
},
|
||||
new ScrollContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
flow = new FlowContainer
|
||||
|
@ -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[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user