1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

Make ProfileHeaderButton height defined

This commit is contained in:
Andrei Zavatski 2021-01-21 22:56:12 +03:00
parent 0a69268567
commit 4555b9ff70
4 changed files with 1 additions and 3 deletions

View File

@ -72,7 +72,6 @@ namespace osu.Game.Overlays.Profile.Header
Width = UserProfileOverlay.CONTENT_X_MARGIN,
Child = new ExpandDetailsButton
{
RelativeSizeAxes = Axes.Y,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
DetailsVisible = { BindTarget = DetailsVisible }

View File

@ -33,7 +33,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
public MessageUserButton()
{
Content.Alpha = 0;
RelativeSizeAxes = Axes.Y;
Child = new SpriteIcon
{

View File

@ -22,6 +22,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
protected ProfileHeaderButton()
{
AutoSizeAxes = Axes.X;
Height = 40;
base.Content.Add(new CircularContainer
{

View File

@ -16,7 +16,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
protected ProfileHeaderStatisticsButton()
{
RelativeSizeAxes = Axes.Y;
Child = new FillFlowContainer
{
AutoSizeAxes = Axes.X,