Use new padding constant where appropriate

This commit is contained in:
sw1tchbl4d3 2022-05-27 12:40:31 +02:00
parent 6a0cf26722
commit e1fd37fd44

View File

@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Dashboard
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
RelativeSizeAxes = Axes.X,
Padding = new MarginPadding(10),
Padding = new MarginPadding(CONTAINER_PADDING),
Child = searchBar = new BasicSearchTextBox
{
@ -81,9 +81,9 @@ namespace osu.Game.Overlays.Dashboard
AutoSizeAxes = Axes.Y,
Padding = new MarginPadding {
Top = CONTAINER_PADDING * 3 + SEARCHBAR_HEIGHT,
Bottom = 10,
Right = 10,
Left = 10,
Bottom = CONTAINER_PADDING,
Right = CONTAINER_PADDING,
Left = CONTAINER_PADDING,
},
Spacing = new Vector2(10),
};