You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working with Tabs / TabStrip / TabStripItem and I'm running into a problem (this is only tested on Android).
I'm creating a Label using a FormattedString and Span tags. Each Span tag has its own style (its own fontSize / fontWeight).
When I attach this Label to the TabStripItem 'label' property, it removes the Span's style and resets it all to default.
Here's my code:
Tab creation here:
As you can see, the fontSize change gets applied when the Label is displayed on the StackLayout but not inside the TabStripItem
![screen_shot](https://user-images.githubusercontent.com/9828407/165128710-46d88a19-84fb-46f2-ad5b-5cf3a41fa6c7.jpg)
Oddly enough, changing the TabStripItem object's "textTransform" to "none" removes the uppercasing:
I'm just wondering how I can edit the Tab's label css programmatically. I'm using dynamic data. Number of tabs / name and content is all dynamic.
Beta Was this translation helpful? Give feedback.
All reactions