mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Adjust header image sizing
This commit is contained in:
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
|
||||
public event ListingSelectedEventHandler ListingSelected;
|
||||
|
||||
private const float cover_height = 280;
|
||||
private const float cover_height = 150;
|
||||
private const float title_height = 50;
|
||||
private const float icon_size = 50;
|
||||
private const float icon_margin = 20;
|
||||
@ -40,6 +40,14 @@ namespace osu.Game.Overlays.Changelog
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Height = cover_height;
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = cover_height,
|
||||
Masking = true,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
coverImage = new Sprite
|
||||
@ -47,6 +55,8 @@ namespace osu.Game.Overlays.Changelog
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
FillMode = FillMode.Fill,
|
||||
},
|
||||
}
|
||||
},
|
||||
new Container
|
||||
{
|
||||
Height = title_height,
|
||||
|
Reference in New Issue
Block a user