Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Auto adjusting the width of ultratab header by length of text
posted

I've added an UltraTabControl to a form.  I'm dynamically added the UltraTabs at run-time.  I'm having a problem with the width of the tab headers.  I want the header to adjust to the size of the text so that the full text displays in the tab header.  Right now, it's cutting off part of the text and adding "...".  I've tried setting the TabLayouStyle to SingleRowAutoSize.  This does not work.  What else can I do to make the tab header width adjust for each tab based on the text?

 

Thanks.

  • 4555
    posted

    Hi,

    There is a width property on the style object that you can set to change the tab width. You can set it at design time if you know the text size.

    Magued