mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 02:22:55 +08:00
Add some more breathing room between tab control and queue content
This commit is contained in:
parent
5976982b12
commit
512818648f
@ -26,18 +26,20 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
|
const float tab_control_height = 25;
|
||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
new OsuTabControl<MultiplayerPlaylistDisplayMode>
|
new OsuTabControl<MultiplayerPlaylistDisplayMode>
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Height = 25,
|
Height = tab_control_height,
|
||||||
Current = { BindTarget = DisplayMode }
|
Current = { BindTarget = DisplayMode }
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Top = 27 },
|
Padding = new MarginPadding { Top = tab_control_height + 5 },
|
||||||
Masking = true,
|
Masking = true,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user