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:
parent
0a69268567
commit
4555b9ff70
@ -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 }
|
||||
|
@ -33,7 +33,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
public MessageUserButton()
|
||||
{
|
||||
Content.Alpha = 0;
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
|
||||
Child = new SpriteIcon
|
||||
{
|
||||
|
@ -22,6 +22,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
protected ProfileHeaderButton()
|
||||
{
|
||||
AutoSizeAxes = Axes.X;
|
||||
Height = 40;
|
||||
|
||||
base.Content.Add(new CircularContainer
|
||||
{
|
||||
|
@ -16,7 +16,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
|
||||
protected ProfileHeaderStatisticsButton()
|
||||
{
|
||||
RelativeSizeAxes = Axes.Y;
|
||||
Child = new FillFlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.X,
|
||||
|
Loading…
Reference in New Issue
Block a user