mirror of
https://github.com/osukey/osukey.git
synced 2025-05-12 00:57:21 +09: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,
|
Width = UserProfileOverlay.CONTENT_X_MARGIN,
|
||||||
Child = new ExpandDetailsButton
|
Child = new ExpandDetailsButton
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y,
|
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
DetailsVisible = { BindTarget = DetailsVisible }
|
DetailsVisible = { BindTarget = DetailsVisible }
|
||||||
|
@ -33,7 +33,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
public MessageUserButton()
|
public MessageUserButton()
|
||||||
{
|
{
|
||||||
Content.Alpha = 0;
|
Content.Alpha = 0;
|
||||||
RelativeSizeAxes = Axes.Y;
|
|
||||||
|
|
||||||
Child = new SpriteIcon
|
Child = new SpriteIcon
|
||||||
{
|
{
|
||||||
|
@ -22,6 +22,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
protected ProfileHeaderButton()
|
protected ProfileHeaderButton()
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.X;
|
AutoSizeAxes = Axes.X;
|
||||||
|
Height = 40;
|
||||||
|
|
||||||
base.Content.Add(new CircularContainer
|
base.Content.Add(new CircularContainer
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
|
|
||||||
protected ProfileHeaderStatisticsButton()
|
protected ProfileHeaderStatisticsButton()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Y;
|
|
||||||
Child = new FillFlowContainer
|
Child = new FillFlowContainer
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.X,
|
AutoSizeAxes = Axes.X,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user