mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 19:47:33 +09: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
|
public class CommentsContainer : CompositeDrawable
|
||||||
{
|
{
|
||||||
private const float separator_height = 1.5f;
|
private const float separator_height = 1.5f;
|
||||||
|
private const int padding = 40;
|
||||||
|
|
||||||
private readonly CommentableType type;
|
private readonly CommentableType type;
|
||||||
private readonly long id;
|
private readonly long id;
|
||||||
@ -92,7 +93,13 @@ namespace osu.Game.Overlays.Comments
|
|||||||
if (!c.IsDeleted && c.IsTopLevel)
|
if (!c.IsDeleted && c.IsTopLevel)
|
||||||
content.AddRange(new Drawable[]
|
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
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user