mirror of
https://github.com/osukey/osukey.git
synced 2025-05-03 04:37:30 +09: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)
|
public BreadcrumbTabItem(T value) : base(value)
|
||||||
{
|
{
|
||||||
Text.TextSize = 18;
|
Text.TextSize = 18;
|
||||||
Padding = new MarginPadding { Right = padding + 9 };
|
Padding = new MarginPadding { Right = padding + 9 }; //padding + chevron width
|
||||||
Add(Chevron = new TextAwesome
|
Add(Chevron = new TextAwesome
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
TextSize = 12,
|
TextSize = 12,
|
||||||
Icon = FontAwesome.fa_chevron_right,
|
Icon = FontAwesome.fa_chevron_right,
|
||||||
Margin = new MarginPadding { Left = 10 },
|
Margin = new MarginPadding { Left = padding },
|
||||||
Alpha = 0f,
|
Alpha = 0f,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user