Adjust metrics for better legibility at small sizes

This commit is contained in:
Dean Herbert 2022-03-26 18:13:33 +09:00
parent 999ae88af2
commit 252d1924e7

View File

@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Toolbar
RelativeSizeAxes = Axes.Y; RelativeSizeAxes = Axes.Y;
AutoSizeAxes = Axes.X; AutoSizeAxes = Axes.X;
Padding = new MarginPadding(10); Padding = new MarginPadding(5);
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
@ -59,7 +59,7 @@ namespace osu.Game.Overlays.Toolbar
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;
Width = 70; // Allows for space for game time up to 99 days. Width = 66; // Allows for space for game time up to 99 days (in the padding area since this is quite rare).
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
@ -89,7 +89,7 @@ namespace osu.Game.Overlays.Toolbar
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
Size = new Vector2(30); Size = new Vector2(20);
InternalChildren = new[] InternalChildren = new[]
{ {