mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
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:
parent
7ac20c3545
commit
e4084b7d5d
@ -70,7 +70,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Horizontal = SearchableListOverlay.WIDTH_PADDING },
|
Padding = new MarginPadding { Horizontal = SearchableListOverlay.WIDTH_PADDING + Multiplayer.OVERFLOW_PADDING },
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
|
@ -41,7 +41,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Padding = new MarginPadding { Horizontal = SearchableListOverlay.WIDTH_PADDING },
|
Padding = new MarginPadding { Horizontal = SearchableListOverlay.WIDTH_PADDING + Multiplayer.OVERFLOW_PADDING },
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
|
@ -75,13 +75,23 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
{
|
{
|
||||||
leaderboard = new MatchLeaderboard
|
leaderboard = new MatchLeaderboard
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding(10),
|
Padding = new MarginPadding
|
||||||
|
{
|
||||||
|
Left = 10 + Multiplayer.OVERFLOW_PADDING,
|
||||||
|
Right = 10,
|
||||||
|
Vertical = 10,
|
||||||
|
},
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Room = room
|
Room = room
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding(10),
|
Padding = new MarginPadding
|
||||||
|
{
|
||||||
|
Left = 10,
|
||||||
|
Right = 10 + Multiplayer.OVERFLOW_PADDING,
|
||||||
|
Vertical = 10,
|
||||||
|
},
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Child = chat = new MatchChatDisplay(room)
|
Child = chat = new MatchChatDisplay(room)
|
||||||
{
|
{
|
||||||
|
@ -53,11 +53,7 @@ namespace osu.Game.Screens.Multi
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
};
|
};
|
||||||
|
|
||||||
Padding = new MarginPadding
|
Padding = new MarginPadding { Horizontal = -OVERFLOW_PADDING };
|
||||||
{
|
|
||||||
Left = -OVERFLOW_PADDING,
|
|
||||||
Right = -OVERFLOW_PADDING
|
|
||||||
};
|
|
||||||
|
|
||||||
waves.AddRange(new Drawable[]
|
waves.AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user