Auto resize tab width according to title length

Seems like SfTabView sets fixed width to all tabs. And what I need is to fit whole title text into tab.
For example one of my tabs looks like this:
<tabView:SfTabItem Title="VERY LONG TAB TITLE"/>
<tabView:SfTabItem Title="ONE MORE VERY LONG TAB TITLE"/>
And what I see on the tab in opened app is only "ERY LONG TAB TITL" on first tab and "ORE VERY LONG TA" on second one.
Those tab titles change dynamically so set one fixed width is not an option either.
So how can I do different dynamic width for each tab according to their titles?

3 Replies 1 reply marked as answer

SP Sakthivel Palaniyappan Syncfusion Team August 14, 2020 09:23 AM UTC

Hi Vincent,

Greetings from Syncfusion.

We have analyzed your query and currently we don’t have support for achieve your requirement. We have already logged feature request on this
and it can be tracked through our feedback portal below.

Feedback portal:
https://www.syncfusion.com/feedback/2353/set-tab-item-width-based-on-text-size-in-sftabview

Feature will be included in our upcoming Volume 3, 2020 main release, which will be expected to be rolled out on end of September 2020.

Regards,
Sakthivel P.
 



SP Sakthivel Palaniyappan Syncfusion Team October 6, 2020 12:05 PM UTC

Hi Vincent,

Sorry for the inconvenience.

We have not included the feature of “Auto resize tab width according to title length” in Volume 3, 2020 main release due to more architecture changes. We are currently working on its with high priority and  we will include the feature in our upcoming Volume 4, 2020 release. Which will be expected to be rolled out on end of December 2020. We appreciate your patience until then. We are deeply sorry for the delay.

Regards,
Sakthivel  P.
 



SP Sakthivel Palaniyappan Syncfusion Team December 21, 2020 12:15 PM UTC

Hi Vincent,

Thanks for the patience.

We are glad to announce that our Essential Studio 2020 Volume 4 release v18.4.0.30 is rolled out and we included the “TabItem width based on text size for SfTabView” support in this release and it is available for download under the following link.

https://www.syncfusion.com/forums/160733/essential-studio-2020-volume-4-release-v18-4-0-30-is-available-for-download

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sakthivel P.       


Marked as answer
Loader.
Up arrow icon