// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Graphics.UserInterface; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; namespace osu.Game.Overlays { public class OverlayHeaderBreadcrumbControl : BreadcrumbControl { public OverlayHeaderBreadcrumbControl() { RelativeSizeAxes = Axes.X; } protected override float ItemChevronSize => 8; protected override TabItem CreateTabItem(string value) => new ControlTabItem(value, ItemChevronSize); private class ControlTabItem : BreadcrumbTabItem { public ControlTabItem(string value, float itemChevronSize) : base(value, itemChevronSize) { Text.Font = Text.Font.With(size: 14); Chevron.Y = 3; } } } }