mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 12:58:01 +09:00
Tweak layout of column display for better spacing
This commit is contained in:
parent
53e8072632
commit
a80b4334ff
@ -108,9 +108,8 @@ namespace osu.Game.Overlays.Mods
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
RowDimensions = new[]
|
RowDimensions = new[]
|
||||||
{
|
{
|
||||||
new Dimension(GridSizeMode.Absolute, 50),
|
new Dimension(GridSizeMode.AutoSize),
|
||||||
new Dimension(),
|
new Dimension()
|
||||||
new Dimension(GridSizeMode.Absolute, 10)
|
|
||||||
},
|
},
|
||||||
Content = new[]
|
Content = new[]
|
||||||
{
|
{
|
||||||
@ -118,7 +117,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
{
|
{
|
||||||
controlContainer = new Container
|
controlContainer = new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.X,
|
||||||
Padding = new MarginPadding { Horizontal = 20 }
|
Padding = new MarginPadding { Horizontal = 20 }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -133,14 +132,10 @@ namespace osu.Game.Overlays.Mods
|
|||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Spacing = new Vector2(0, 10),
|
Spacing = new Vector2(0, 10),
|
||||||
Padding = new MarginPadding
|
Padding = new MarginPadding(10)
|
||||||
{
|
}
|
||||||
Horizontal = 10
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
new[] { Empty() }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -161,6 +156,12 @@ namespace osu.Game.Overlays.Mods
|
|||||||
LabelText = "Enable All",
|
LabelText = "Enable All",
|
||||||
Shear = new Vector2(-ModPanel.SHEAR_X, 0)
|
Shear = new Vector2(-ModPanel.SHEAR_X, 0)
|
||||||
});
|
});
|
||||||
|
panelFlow.Padding = new MarginPadding
|
||||||
|
{
|
||||||
|
Top = 0,
|
||||||
|
Bottom = 10,
|
||||||
|
Horizontal = 10
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user