Make ChannelListItems scale better

This commit is contained in:
DrabWeb 2017-05-26 03:51:09 -03:00
parent 21e900df73
commit d632435a34
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,6 @@ public class ChannelListItem : ClickableContainer, IFilterable
{
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 @@ public ChannelListItem()
},
new Container
{
Width = topic_width,
RelativeSizeAxes = Axes.X,
Width = 0.7f,
AutoSizeAxes = Axes.Y,
Margin = new MarginPadding { Left = width_padding },
Children = new[]