mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Message padding improvements
This commit is contained in:
parent
faef4d932d
commit
4462d454e8
@ -16,6 +16,7 @@ namespace osu.Game.Overlays.Comments
|
||||
public class CommentsContainer : CompositeDrawable
|
||||
{
|
||||
private const float separator_height = 1.5f;
|
||||
private const int padding = 40;
|
||||
|
||||
private readonly CommentableType type;
|
||||
private readonly long id;
|
||||
@ -92,7 +93,13 @@ namespace osu.Game.Overlays.Comments
|
||||
if (!c.IsDeleted && c.IsTopLevel)
|
||||
content.AddRange(new Drawable[]
|
||||
{
|
||||
new DrawableComment(c),
|
||||
new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Padding = new MarginPadding { Right = padding },
|
||||
Child = new DrawableComment(c)
|
||||
},
|
||||
new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
|
Loading…
Reference in New Issue
Block a user