1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:43:21 +08:00

Use correct x-axis margins

This commit is contained in:
TheWildTree 2020-02-29 15:19:36 +01:00
parent 0760ccf024
commit 520bbcf2e4
2 changed files with 3 additions and 3 deletions

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

View File

@ -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