1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:12:57 +08:00

Add top padding.

This commit is contained in:
Dean Herbert 2017-02-22 13:38:22 +09:00
parent b7a9fd85ea
commit 190bed8939
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -28,6 +28,8 @@ namespace osu.Game.Overlays
{
public class ChatOverlay : FocusedOverlayContainer, IOnlineComponent
{
const float textbox_height = 40;
private DrawableChannel channelDisplay;
private ScheduledDelegate messageRequest;
@ -59,14 +61,14 @@ namespace osu.Game.Overlays
content = new Container
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Bottom = 50 },
Padding = new MarginPadding { Top = 5, Bottom = textbox_height + 5 },
},
new Container
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
RelativeSizeAxes = Axes.X,
Height = 40,
Height = textbox_height,
Padding = new MarginPadding(5),
Children = new Drawable[]
{