mirror of
https://github.com/ppy/osu
synced 2025-01-23 22:33:05 +00:00
Fix size of release stream separator in listing
This commit is contained in:
parent
57d648df6d
commit
e7ae9c249f
@ -18,6 +18,8 @@ namespace osu.Game.Overlays.Changelog
|
||||
{
|
||||
public class ChangelogBuild : FillFlowContainer
|
||||
{
|
||||
public const float HORIZONTAL_PADDING = 70;
|
||||
|
||||
public Action<APIChangelogBuild> SelectBuild;
|
||||
|
||||
protected readonly APIChangelogBuild Build;
|
||||
@ -31,7 +33,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
Direction = FillDirection.Vertical;
|
||||
Padding = new MarginPadding { Horizontal = 70 };
|
||||
Padding = new MarginPadding { Horizontal = HORIZONTAL_PADDING };
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -5,6 +5,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
@ -58,12 +59,17 @@ namespace osu.Game.Overlays.Changelog
|
||||
}
|
||||
else
|
||||
{
|
||||
Add(new Box
|
||||
Add(new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = 1,
|
||||
Colour = new Color4(32, 24, 35, 255),
|
||||
Padding = new MarginPadding { Horizontal = ChangelogBuild.HORIZONTAL_PADDING },
|
||||
Margin = new MarginPadding { Top = 30 },
|
||||
Child = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = new Color4(32, 24, 35, 255),
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user