mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Adjust font sizes and spacing in BeatmapSetOverlay
This commit is contained in:
@ -51,7 +51,6 @@ namespace osu.Game.Screens.Select.Details
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Spacing = new Vector2(4f),
|
||||
Children = new[]
|
||||
{
|
||||
FirstValue = new StatisticRow(), //circle size/key amount
|
||||
@ -199,6 +198,7 @@ namespace osu.Game.Screens.Select.Details
|
||||
this.forceDecimalPlaces = forceDecimalPlaces;
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
Padding = new MarginPadding { Vertical = 2.5f };
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
@ -206,9 +206,11 @@ namespace osu.Game.Screens.Select.Details
|
||||
{
|
||||
Width = name_width,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
// osu-web uses 1.25 line-height, which at 12px font size makes the element 14px tall - this compentates that difference
|
||||
Padding = new MarginPadding { Vertical = 1 },
|
||||
Child = name = new OsuSpriteText
|
||||
{
|
||||
Font = OsuFont.GetFont(size: 13)
|
||||
Font = OsuFont.GetFont(size: 12)
|
||||
},
|
||||
},
|
||||
bar = new Bar
|
||||
@ -239,7 +241,7 @@ namespace osu.Game.Screens.Select.Details
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Font = OsuFont.GetFont(size: 13)
|
||||
Font = OsuFont.GetFont(size: 12)
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user