From 4b0d6cd26bdd5cff522e3fc1c7a44739ba8b85b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 17 Feb 2017 20:08:28 +0100 Subject: [PATCH] Don't rely on default relative size of ScrollContainer. --- osu.Game/Online/Chat/Drawables/ChannelDisplay.cs | 1 + osu.Game/Overlays/NotificationManager.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs b/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs index 08630a25aa..cc60706831 100644 --- a/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs +++ b/osu.Game/Online/Chat/Drawables/ChannelDisplay.cs @@ -38,6 +38,7 @@ namespace osu.Game.Online.Chat.Drawables }, new ScrollContainer { + RelativeSizeAxes = Axes.Both, Children = new Drawable[] { flow = new FlowContainer diff --git a/osu.Game/Overlays/NotificationManager.cs b/osu.Game/Overlays/NotificationManager.cs index cb2025c576..5e37ede783 100644 --- a/osu.Game/Overlays/NotificationManager.cs +++ b/osu.Game/Overlays/NotificationManager.cs @@ -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[] {