Remove padding, fix corner radiuses

This commit is contained in:
AlFasGD
2018-07-25 15:14:40 +03:00
parent 206e3686f2
commit c4b1ba2979
2 changed files with 11 additions and 26 deletions

View File

@ -4,6 +4,7 @@
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.Edit.Screens.Setup.Components.LabelledComponents;
using System;
using System.Collections.Generic;
@ -21,15 +22,18 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader]
private void load()
{
Children = new Drawable[]
Child = new Container
{
new LabelledTextBox
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.X,
Padding = new MarginPadding { Left = 150, Right = 150 },
Child = new LabelledTextBox
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
LabelText = "Testing text",
PlaceholderText = "This is definitely working as intended",
Padding = new MarginPadding { Left = 150, Right = 150 }
}
};
}