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;
|
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 title_height = 50;
|
||||||
private const float icon_size = 50;
|
private const float icon_size = 50;
|
||||||
private const float icon_margin = 20;
|
private const float icon_margin = 20;
|
||||||
@ -40,12 +40,22 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
Height = cover_height;
|
Height = cover_height;
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
coverImage = new Sprite
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.X,
|
||||||
FillMode = FillMode.Fill,
|
Height = cover_height,
|
||||||
|
Masking = true,
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
coverImage = new Sprite
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
FillMode = FillMode.Fill,
|
||||||
|
},
|
||||||
|
}
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user