From dfb791ed3e32440c1d293f1f65690f8949bcdafc Mon Sep 17 00:00:00 2001 From: mulraf <52014176+mulraf@users.noreply.github.com> Date: Sun, 23 Jun 2019 22:59:14 +0200 Subject: [PATCH] Update PopupDialog.cs Changed Spacings --- osu.Game/Overlays/Dialog/PopupDialog.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/osu.Game/Overlays/Dialog/PopupDialog.cs b/osu.Game/Overlays/Dialog/PopupDialog.cs index 424d41fd06..36fd4c6e7f 100644 --- a/osu.Game/Overlays/Dialog/PopupDialog.cs +++ b/osu.Game/Overlays/Dialog/PopupDialog.cs @@ -134,9 +134,9 @@ namespace osu.Game.Overlays.Dialog Origin = Anchor.BottomCentre, RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Position = new Vector2(0f, 60f), + Position = new Vector2(0f, -40f), Direction = FillDirection.Vertical, - Spacing = new Vector2(0f, 10f), + Spacing = new Vector2(0f, 5f), Children = new Drawable[] { new Container @@ -146,7 +146,7 @@ namespace osu.Game.Overlays.Dialog Size = ringSize, Margin = new MarginPadding { - Bottom = 30, + Bottom = 0, }, Children = new Drawable[] { @@ -181,14 +181,17 @@ namespace osu.Game.Overlays.Dialog Anchor = Anchor.TopCentre, RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Padding = new MarginPadding(15), + Padding = new MarginPadding(5), TextAnchor = Anchor.TopCentre, }, body = new OsuTextFlowContainer(t => t.Font = t.Font.With(size: 18)) { RelativeSizeAxes = Axes.X, AutoSizeAxes = Axes.Y, - Padding = new MarginPadding(15), + Padding = new MarginPadding { + Top = 5, + Bottom = -20, + }, TextAnchor = Anchor.TopCentre, }, },