mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Use correct x-axis margins
This commit is contained in:
parent
0760ccf024
commit
520bbcf2e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user