From a92404413c38829dbc858e5bcb9707be6c4b248f Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 15 Nov 2016 16:55:23 +0900 Subject: [PATCH] Adjust padding and fonts of options. --- osu.Game/Overlays/Options/OptionsSection.cs | 10 ++++++---- osu.Game/Overlays/Options/OptionsSubsection.cs | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/osu.Game/Overlays/Options/OptionsSection.cs b/osu.Game/Overlays/Options/OptionsSection.cs index aa1feddd4f..739504da80 100644 --- a/osu.Game/Overlays/Options/OptionsSection.cs +++ b/osu.Game/Overlays/Options/OptionsSection.cs @@ -18,7 +18,9 @@ namespace osu.Game.Overlays.Options public OptionsSection() { - const int headerSize = 30, headerMargin = 25; + Margin = new MarginPadding { Top = 20 }; + + const int headerSize = 26, headerMargin = 25; const int borderSize = 2; AutoSizeAxes = Axes.Y; RelativeSizeAxes = Axes.X; @@ -26,7 +28,7 @@ namespace osu.Game.Overlays.Options { new Box { - Colour = new Color4(30, 30, 30, 255), + Colour = new Color4(0, 0, 0, 255), RelativeSizeAxes = Axes.X, Height = borderSize, }, @@ -34,7 +36,7 @@ namespace osu.Game.Overlays.Options { Padding = new MarginPadding { - Top = 10 + borderSize, + Top = 20 + borderSize, Left = OptionsOverlay.CONTENT_MARGINS, Right = OptionsOverlay.CONTENT_MARGINS, Bottom = 10, @@ -53,7 +55,7 @@ namespace osu.Game.Overlays.Options { Margin = new MarginPadding { Top = headerSize + headerMargin }, Direction = FlowDirection.VerticalOnly, - Spacing = new Vector2(0, 25), + Spacing = new Vector2(0, 50), AutoSizeAxes = Axes.Y, RelativeSizeAxes = Axes.X, }, diff --git a/osu.Game/Overlays/Options/OptionsSubsection.cs b/osu.Game/Overlays/Options/OptionsSubsection.cs index 09db27c54f..ad98549e9e 100644 --- a/osu.Game/Overlays/Options/OptionsSubsection.cs +++ b/osu.Game/Overlays/Options/OptionsSubsection.cs @@ -28,9 +28,9 @@ namespace osu.Game.Overlays.Options { new SpriteText { - TextSize = 25, - Text = Header, - // TODO: Bold + TextSize = 17, + Text = Header.ToUpper(), + Font = @"Exo2.0-Black", } } },