mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Use padding for chevron margin
This commit is contained in:
parent
cbe36259c3
commit
fb6ed159ca
@ -47,14 +47,14 @@ namespace osu.Game.Graphics.UserInterface
|
||||
public BreadcrumbTabItem(T value) : base(value)
|
||||
{
|
||||
Text.TextSize = 18;
|
||||
Padding = new MarginPadding { Right = padding + 9 };
|
||||
Padding = new MarginPadding { Right = padding + 9 }; //padding + chevron width
|
||||
Add(Chevron = new TextAwesome
|
||||
{
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreLeft,
|
||||
TextSize = 12,
|
||||
Icon = FontAwesome.fa_chevron_right,
|
||||
Margin = new MarginPadding { Left = 10 },
|
||||
Margin = new MarginPadding { Left = padding },
|
||||
Alpha = 0f,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user