mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Adjust padding and fonts of options.
This commit is contained in:
@ -18,7 +18,9 @@ namespace osu.Game.Overlays.Options
|
|||||||
|
|
||||||
public OptionsSection()
|
public OptionsSection()
|
||||||
{
|
{
|
||||||
const int headerSize = 30, headerMargin = 25;
|
Margin = new MarginPadding { Top = 20 };
|
||||||
|
|
||||||
|
const int headerSize = 26, headerMargin = 25;
|
||||||
const int borderSize = 2;
|
const int borderSize = 2;
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
@ -26,7 +28,7 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
Colour = new Color4(30, 30, 30, 255),
|
Colour = new Color4(0, 0, 0, 255),
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Height = borderSize,
|
Height = borderSize,
|
||||||
},
|
},
|
||||||
@ -34,7 +36,7 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
Padding = new MarginPadding
|
Padding = new MarginPadding
|
||||||
{
|
{
|
||||||
Top = 10 + borderSize,
|
Top = 20 + borderSize,
|
||||||
Left = OptionsOverlay.CONTENT_MARGINS,
|
Left = OptionsOverlay.CONTENT_MARGINS,
|
||||||
Right = OptionsOverlay.CONTENT_MARGINS,
|
Right = OptionsOverlay.CONTENT_MARGINS,
|
||||||
Bottom = 10,
|
Bottom = 10,
|
||||||
@ -53,7 +55,7 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
Margin = new MarginPadding { Top = headerSize + headerMargin },
|
Margin = new MarginPadding { Top = headerSize + headerMargin },
|
||||||
Direction = FlowDirection.VerticalOnly,
|
Direction = FlowDirection.VerticalOnly,
|
||||||
Spacing = new Vector2(0, 25),
|
Spacing = new Vector2(0, 50),
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
},
|
},
|
||||||
|
@ -28,9 +28,9 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
new SpriteText
|
new SpriteText
|
||||||
{
|
{
|
||||||
TextSize = 25,
|
TextSize = 17,
|
||||||
Text = Header,
|
Text = Header.ToUpper(),
|
||||||
// TODO: Bold
|
Font = @"Exo2.0-Black",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user