Add overflow padding in other multiplayer screen components

Added overflow padding in room selection screen (Header, Room Info, Leaderboards, and Room Chat)
This commit is contained in:
ProgrammaticNajel
2019-01-24 17:40:48 +08:00
parent 7ac20c3545
commit e4084b7d5d
4 changed files with 15 additions and 9 deletions

View File

@ -75,13 +75,23 @@ namespace osu.Game.Screens.Multi.Match
{
leaderboard = new MatchLeaderboard
{
Padding = new MarginPadding(10),
Padding = new MarginPadding
{
Left = 10 + Multiplayer.OVERFLOW_PADDING,
Right = 10,
Vertical = 10,
},
RelativeSizeAxes = Axes.Both,
Room = room
},
new Container
{
Padding = new MarginPadding(10),
Padding = new MarginPadding
{
Left = 10,
Right = 10 + Multiplayer.OVERFLOW_PADDING,
Vertical = 10,
},
RelativeSizeAxes = Axes.Both,
Child = chat = new MatchChatDisplay(room)
{