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:
parent
ab58f60529
commit
3e96c6d036
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user