Update PopupDialog.cs

Changed Spacings
This commit is contained in:
mulraf 2019-06-23 22:59:14 +02:00
parent 7bbd6b810f
commit dfb791ed3e
1 changed files with 8 additions and 5 deletions

View File

@ -134,9 +134,9 @@ public PopupDialog()
Origin = Anchor.BottomCentre, Origin = Anchor.BottomCentre,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Position = new Vector2(0f, 60f), Position = new Vector2(0f, -40f),
Direction = FillDirection.Vertical, Direction = FillDirection.Vertical,
Spacing = new Vector2(0f, 10f), Spacing = new Vector2(0f, 5f),
Children = new Drawable[] Children = new Drawable[]
{ {
new Container new Container
@ -146,7 +146,7 @@ public PopupDialog()
Size = ringSize, Size = ringSize,
Margin = new MarginPadding Margin = new MarginPadding
{ {
Bottom = 30, Bottom = 0,
}, },
Children = new Drawable[] Children = new Drawable[]
{ {
@ -181,14 +181,17 @@ public PopupDialog()
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Padding = new MarginPadding(15), Padding = new MarginPadding(5),
TextAnchor = Anchor.TopCentre, TextAnchor = Anchor.TopCentre,
}, },
body = new OsuTextFlowContainer(t => t.Font = t.Font.With(size: 18)) body = new OsuTextFlowContainer(t => t.Font = t.Font.With(size: 18))
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,
Padding = new MarginPadding(15), Padding = new MarginPadding {
Top = 5,
Bottom = -20,
},
TextAnchor = Anchor.TopCentre, TextAnchor = Anchor.TopCentre,
}, },
}, },