Fix incorrect sizes

This commit is contained in:
DrabWeb
2017-05-26 16:21:37 -03:00
parent fb6ed159ca
commit 352d3d247b

View File

@ -17,7 +17,7 @@ namespace osu.Game.Graphics.UserInterface
public BreadcrumbControl() public BreadcrumbControl()
{ {
Height = 28; Height = 26;
TabContainer.Spacing = new Vector2(padding, 0f); TabContainer.Spacing = new Vector2(padding, 0f);
Current.ValueChanged += tab => Current.ValueChanged += tab =>
{ {
@ -46,8 +46,8 @@ namespace osu.Game.Graphics.UserInterface
public BreadcrumbTabItem(T value) : base(value) public BreadcrumbTabItem(T value) : base(value)
{ {
Text.TextSize = 18; Text.TextSize = 16;
Padding = new MarginPadding { Right = padding + 9 }; //padding + chevron width Padding = new MarginPadding { Right = padding + 8 }; //padding + chevron width
Add(Chevron = new TextAwesome Add(Chevron = new TextAwesome
{ {
Anchor = Anchor.CentreRight, Anchor = Anchor.CentreRight,