mirror of
https://github.com/ppy/osu
synced 2025-03-05 02:49:30 +00:00
Use new padding constant where appropriate
This commit is contained in:
parent
6a0cf26722
commit
e1fd37fd44
@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Dashboard
|
|||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Padding = new MarginPadding(10),
|
Padding = new MarginPadding(CONTAINER_PADDING),
|
||||||
|
|
||||||
Child = searchBar = new BasicSearchTextBox
|
Child = searchBar = new BasicSearchTextBox
|
||||||
{
|
{
|
||||||
@ -81,9 +81,9 @@ namespace osu.Game.Overlays.Dashboard
|
|||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Padding = new MarginPadding {
|
Padding = new MarginPadding {
|
||||||
Top = CONTAINER_PADDING * 3 + SEARCHBAR_HEIGHT,
|
Top = CONTAINER_PADDING * 3 + SEARCHBAR_HEIGHT,
|
||||||
Bottom = 10,
|
Bottom = CONTAINER_PADDING,
|
||||||
Right = 10,
|
Right = CONTAINER_PADDING,
|
||||||
Left = 10,
|
Left = CONTAINER_PADDING,
|
||||||
},
|
},
|
||||||
Spacing = new Vector2(10),
|
Spacing = new Vector2(10),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user