mirror of
https://github.com/osukey/osukey.git
synced 2025-05-20 21:17:32 +09:00
Adjust user profile tabs
This commit is contained in:
parent
9a30ff5a00
commit
543f584595
@ -67,7 +67,6 @@ namespace osu.Game.Overlays
|
|||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Height = 34
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Add(new Box
|
Add(new Box
|
||||||
@ -160,6 +159,7 @@ namespace osu.Game.Overlays
|
|||||||
TabContainer.Anchor |= Anchor.x1;
|
TabContainer.Anchor |= Anchor.x1;
|
||||||
TabContainer.Origin |= Anchor.x1;
|
TabContainer.Origin |= Anchor.x1;
|
||||||
|
|
||||||
|
Height = 36 + bar_height;
|
||||||
BarHeight = bar_height;
|
BarHeight = bar_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,6 +180,8 @@ namespace osu.Game.Overlays
|
|||||||
: base(value)
|
: base(value)
|
||||||
{
|
{
|
||||||
Text.Text = value.Title;
|
Text.Text = value.Title;
|
||||||
|
Text.Font = Text.Font.With(size: 16);
|
||||||
|
Text.Margin = new MarginPadding { Bottom = 10 + bar_height };
|
||||||
Bar.ExpandedSize = 10;
|
Bar.ExpandedSize = 10;
|
||||||
Bar.Margin = new MarginPadding { Bottom = bar_height };
|
Bar.Margin = new MarginPadding { Bottom = bar_height };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user