mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Add overflow padding in other multiplayer screen components
Added padding to Room Creation and Beatmap Selection in Multiplayer.
This commit is contained in:
parent
9fcefa7d69
commit
593e0b36f5
@ -79,7 +79,11 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
{
|
||||
new ScrollContainer
|
||||
{
|
||||
Padding = new MarginPadding { Vertical = 10 },
|
||||
Padding = new MarginPadding
|
||||
{
|
||||
Horizontal = Multiplayer.OVERFLOW_PADDING,
|
||||
Vertical = 10
|
||||
},
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new[]
|
||||
{
|
||||
@ -210,6 +214,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
Direction = FillDirection.Vertical,
|
||||
Spacing = new Vector2(0, 20),
|
||||
Margin = new MarginPadding { Vertical = 20 },
|
||||
Padding = new MarginPadding { Horizontal = Multiplayer.OVERFLOW_PADDING },
|
||||
Children = new Drawable[]
|
||||
{
|
||||
ApplyButton = new CreateRoomButton
|
||||
|
@ -118,7 +118,11 @@ namespace osu.Game.Screens.Multi.Match
|
||||
},
|
||||
};
|
||||
|
||||
header.OnRequestSelectBeatmap = () => Push(new MatchSongSelect { Selected = addPlaylistItem });
|
||||
header.OnRequestSelectBeatmap = () => Push(new MatchSongSelect
|
||||
{
|
||||
Selected = addPlaylistItem,
|
||||
Padding = new MarginPadding { Horizontal = Multiplayer.OVERFLOW_PADDING }
|
||||
});
|
||||
header.Tabs.Current.ValueChanged += t =>
|
||||
{
|
||||
const float fade_duration = 500;
|
||||
|
Loading…
Reference in New Issue
Block a user