Adjust margins/paddings

This commit is contained in:
Andrei Zavatski 2020-07-11 09:03:03 +03:00
parent 84392d0d13
commit 024ccc75ee
2 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,10 @@ public abstract class CommentRepliesButton : CompositeDrawable
private void load()
{
AutoSizeAxes = Axes.Both;
Margin = new MarginPadding
{
Vertical = 2
};
InternalChildren = new Drawable[]
{
new CircularContainer

View File

@ -83,7 +83,7 @@ private void load()
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Padding = new MarginPadding(margin) { Left = margin + 5 },
Padding = new MarginPadding(margin) { Left = margin + 5, Top = Comment.IsTopLevel ? 10 : 0 },
Child = content = new GridContainer
{
RelativeSizeAxes = Axes.X,