mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Adjust sizings and paddings
This commit is contained in:
parent
4b198d14eb
commit
6416e64e06
@ -88,6 +88,11 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
|||||||
new GridContainer
|
new GridContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
RowDimensions = new[]
|
||||||
|
{
|
||||||
|
new Dimension(),
|
||||||
|
new Dimension(GridSizeMode.AutoSize)
|
||||||
|
},
|
||||||
Content = new[]
|
Content = new[]
|
||||||
{
|
{
|
||||||
// Padded main content (drawable room + main content)
|
// Padded main content (drawable room + main content)
|
||||||
@ -96,7 +101,11 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
|||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding { Horizontal = 60 },
|
Padding = new MarginPadding
|
||||||
|
{
|
||||||
|
Horizontal = WaveOverlayContainer.WIDTH_PADDING,
|
||||||
|
Bottom = 30
|
||||||
|
},
|
||||||
// Main content
|
// Main content
|
||||||
Child = new GridContainer
|
Child = new GridContainer
|
||||||
{
|
{
|
||||||
|
@ -142,8 +142,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding
|
Padding = new MarginPadding
|
||||||
{
|
{
|
||||||
Horizontal = HORIZONTAL_OVERFLOW_PADDING + 55,
|
Horizontal = 10,
|
||||||
Vertical = 20
|
Vertical = 10
|
||||||
},
|
},
|
||||||
Child = new GridContainer
|
Child = new GridContainer
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user