I think the padding of the TabViewItems in the RadTabView control is too large in some situations.If you reduce the height of the control, the text is no longer visible in whole or in part.Setting the value of padding to 0 changes nothing.Is there a way to reduce the padding?
If you have used ContentPadding and it's not enough, please reply with two items:
Required: A screenshot of the text clipping
Optional: If you are using DataTemplates, please share a copy of the one being used for that area.
Optional: If you've modified any of the other header properties, please share the code for that too. Many element affect this layout, from font to icon size, they all are responsible for their layout.
With that information, I can quickly identify the relevant parent and provide a more exact answer.
Regards,
Lance | Manager Technical Support
Progress Telerik
I want to reduce the height of the areas I've circled red.
Regards,
Rolf
Lance | Senior Manager Technical Support
Telerik team
commented on 13 Jul 2023, 07:43 PM
Thank you for the details. that part should only be there because of the vertical alignment of the text. If you change HeaderItemStyle's VerticalTextAlignment property it should show you the outer bounds of where the text can go.
If you want a completely custom header item, then you can just replace it with your own Label and use the Header's BindingContext (of type TabViewHeaderItem) to bind to the Text property <Label Text="{Binding Text}" />