From d632435a344d2a5cb05b89329f27d521ef51d51d Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Fri, 26 May 2017 03:51:09 -0300 Subject: [PATCH] Make ChannelListItems scale better --- osu.Game/Overlays/Chat/ChannelListItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Overlays/Chat/ChannelListItem.cs b/osu.Game/Overlays/Chat/ChannelListItem.cs index fe058e131a..5d40766bee 100644 --- a/osu.Game/Overlays/Chat/ChannelListItem.cs +++ b/osu.Game/Overlays/Chat/ChannelListItem.cs @@ -17,7 +17,6 @@ namespace osu.Game.Overlays.Chat { private const float width_padding = 5; private const float channel_width = 150; - private const float topic_width = 380; private const float text_size = 15; private const float transition_duration = 100; @@ -104,7 +103,8 @@ namespace osu.Game.Overlays.Chat }, new Container { - Width = topic_width, + RelativeSizeAxes = Axes.X, + Width = 0.7f, AutoSizeAxes = Axes.Y, Margin = new MarginPadding { Left = width_padding }, Children = new[]