Skip to content

Uno Platform : How To Remove TabBar SelectionIndicatorContent ? #19357

Answered by kazo0
RSReswin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @RSReswin!

Great question!

The "pill" selection indicator right now is actually part of the style for the TabBarItem. You can see it defined here: https://github.com/unoplatform/uno.toolkit.ui/blob/14b1b5e10f734d37153035b7491a707d3eaded70/src/library/Uno.Toolkit.Material/Styles/Controls/v2/TabBar.xaml#L680

The goal is to move this to utilize the SelectionIndicatorContentPresenter instead but the work hasn't been completed yet. This is tracked by unoplatform/uno.toolkit.ui#625.

Currently, the best way to customize/hide the indicator would be to utilize Lightweight Styling. The resources that you should override are the ones with keys that start with NavigationTabBarItemActiveIndicato…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RSReswin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants