1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +08:00

Improve paddings of collection management dialog

This commit is contained in:
Dean Herbert 2020-09-08 12:51:42 +09:00
parent ab58f60529
commit 3e96c6d036
2 changed files with 2 additions and 2 deletions

View File

@ -13,13 +13,14 @@ namespace osu.Game.Collections
protected override ScrollContainer<Drawable> CreateScrollContainer() => base.CreateScrollContainer().With(d =>
{
d.ScrollbarVisible = false;
d.Padding = new MarginPadding(10);
});
protected override FillFlowContainer<RearrangeableListItem<BeatmapCollection>> CreateListFillFlowContainer() => new FillFlowContainer<RearrangeableListItem<BeatmapCollection>>
{
LayoutDuration = 200,
LayoutEasing = Easing.OutQuint,
Spacing = new Vector2(0, 2)
Spacing = new Vector2(0, 5)
};
protected override OsuRearrangeableListItem<BeatmapCollection> CreateOsuDrawable(BeatmapCollection item) => new DrawableCollectionListItem(item);

View File

@ -25,7 +25,6 @@ namespace osu.Game.Collections
public DrawableCollectionListItem(BeatmapCollection item)
: base(item)
{
Padding = new MarginPadding { Right = 20 };
}
protected override Drawable CreateContent() => new ItemContent(Model);