mirror of
https://github.com/osukey/osukey.git
synced 2025-06-30 07:38:04 +09:00
Adjust margins/paddings
This commit is contained in:
parent
84392d0d13
commit
024ccc75ee
@ -29,6 +29,10 @@ namespace osu.Game.Overlays.Comments.Buttons
|
|||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
|
Margin = new MarginPadding
|
||||||
|
{
|
||||||
|
Vertical = 2
|
||||||
|
};
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
new CircularContainer
|
new CircularContainer
|
||||||
|
@ -83,7 +83,7 @@ namespace osu.Game.Overlays.Comments
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
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
|
Child = content = new GridContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user