Make ChannelListItems scale better

This commit is contained in:
DrabWeb
2017-05-26 03:51:09 -03:00
parent 21e900df73
commit d632435a34

View File

@ -17,7 +17,6 @@ namespace osu.Game.Overlays.Chat
{ {
private const float width_padding = 5; private const float width_padding = 5;
private const float channel_width = 150; private const float channel_width = 150;
private const float topic_width = 380;
private const float text_size = 15; private const float text_size = 15;
private const float transition_duration = 100; private const float transition_duration = 100;
@ -104,7 +103,8 @@ namespace osu.Game.Overlays.Chat
}, },
new Container new Container
{ {
Width = topic_width, RelativeSizeAxes = Axes.X,
Width = 0.7f,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Margin = new MarginPadding { Left = width_padding }, Margin = new MarginPadding { Left = width_padding },
Children = new[] Children = new[]