mirror of
https://github.com/ppy/osu.git
synced 2025-02-04 19:03:03 +08:00
Move padding outside of the UpdateStreamBadgeArea
This commit is contained in:
parent
d92e93ed31
commit
a8c31c31ad
@ -86,7 +86,17 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
Streams = new UpdateStreamBadgeArea(),
|
new Container
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
AutoSizeAxes = Axes.Y,
|
||||||
|
Padding = new MarginPadding
|
||||||
|
{
|
||||||
|
Horizontal = 85,
|
||||||
|
Vertical = 20
|
||||||
|
},
|
||||||
|
Child = Streams = new UpdateStreamBadgeArea()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -40,22 +40,13 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
base.OnHoverLost(e);
|
base.OnHoverLost(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override TabFillFlowContainer CreateTabFlow()
|
protected override TabFillFlowContainer CreateTabFlow() => new TabFillFlowContainer
|
||||||
{
|
{
|
||||||
var flow = base.CreateTabFlow();
|
RelativeSizeAxes = Axes.X,
|
||||||
|
AutoSizeAxes = Axes.Y,
|
||||||
flow.RelativeSizeAxes = Axes.X;
|
AllowMultiline = true,
|
||||||
flow.AutoSizeAxes = Axes.Y;
|
|
||||||
flow.AllowMultiline = true;
|
|
||||||
flow.Padding = new MarginPadding
|
|
||||||
{
|
|
||||||
Vertical = 20,
|
|
||||||
Horizontal = 85,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return flow;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override Dropdown<APIUpdateStream> CreateDropdown() => null;
|
protected override Dropdown<APIUpdateStream> CreateDropdown() => null;
|
||||||
|
|
||||||
protected override TabItem<APIUpdateStream> CreateTabItem(APIUpdateStream value) =>
|
protected override TabItem<APIUpdateStream> CreateTabItem(APIUpdateStream value) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user