mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 01:02:56 +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 =>
|
protected override ScrollContainer<Drawable> CreateScrollContainer() => base.CreateScrollContainer().With(d =>
|
||||||
{
|
{
|
||||||
d.ScrollbarVisible = false;
|
d.ScrollbarVisible = false;
|
||||||
|
d.Padding = new MarginPadding(10);
|
||||||
});
|
});
|
||||||
|
|
||||||
protected override FillFlowContainer<RearrangeableListItem<BeatmapCollection>> CreateListFillFlowContainer() => new FillFlowContainer<RearrangeableListItem<BeatmapCollection>>
|
protected override FillFlowContainer<RearrangeableListItem<BeatmapCollection>> CreateListFillFlowContainer() => new FillFlowContainer<RearrangeableListItem<BeatmapCollection>>
|
||||||
{
|
{
|
||||||
LayoutDuration = 200,
|
LayoutDuration = 200,
|
||||||
LayoutEasing = Easing.OutQuint,
|
LayoutEasing = Easing.OutQuint,
|
||||||
Spacing = new Vector2(0, 2)
|
Spacing = new Vector2(0, 5)
|
||||||
};
|
};
|
||||||
|
|
||||||
protected override OsuRearrangeableListItem<BeatmapCollection> CreateOsuDrawable(BeatmapCollection item) => new DrawableCollectionListItem(item);
|
protected override OsuRearrangeableListItem<BeatmapCollection> CreateOsuDrawable(BeatmapCollection item) => new DrawableCollectionListItem(item);
|
||||||
|
@ -25,7 +25,6 @@ namespace osu.Game.Collections
|
|||||||
public DrawableCollectionListItem(BeatmapCollection item)
|
public DrawableCollectionListItem(BeatmapCollection item)
|
||||||
: base(item)
|
: base(item)
|
||||||
{
|
{
|
||||||
Padding = new MarginPadding { Right = 20 };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override Drawable CreateContent() => new ItemContent(Model);
|
protected override Drawable CreateContent() => new ItemContent(Model);
|
||||||
|
Loading…
Reference in New Issue
Block a user