1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 22:33:47 +08:00

Use correct x-axis margins

This commit is contained in:
TheWildTree
2020-02-29 15:19:36 +01:00
Unverified
parent 0760ccf024
commit 520bbcf2e4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
@@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Rankings
Origin = Anchor.CentreLeft,
Direction = FillDirection.Horizontal,
Spacing = new Vector2(10, 0),
Margin = new MarginPadding { Left = UserProfileOverlay.CONTENT_X_MARGIN },
Margin = new MarginPadding { Left = OverlayHeader.CONTENT_X_MARGIN },
Children = new Drawable[]
{
new OsuSpriteText
@@ -64,7 +64,7 @@ namespace osu.Game.Overlays.Rankings
new Container
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Horizontal = UserProfileOverlay.CONTENT_X_MARGIN },
Padding = new MarginPadding { Horizontal = OverlayHeader.CONTENT_X_MARGIN },
Children = new Drawable[]
{
dropdown = new SpotlightsDropdown