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
1170
TabHorizontalArea size fixed in theme
posted

Hi,

We have made a custom  theme for our application. the problem which we are facing with the theme is that the tabhorizontalarea and the tabitems are intercepting with is other (i.e. the height of tabhorizontalarea and tabitems are same). but  we want to increase the size of tabhorizontalarea for our application.

I have attached the sample project with the style library.

please check it and provide solution for above problem. 

Regards,

Atul Dislay

UltraTab.rar
Parents
  • 29105
    Offline posted

    May I ask if you can clarify your requirement and provide a mockup illustrating what you are trying to achieve?

Reply Children
  • 5118
    Suggested Answer
    posted in reply to Rajiv Dahiya

    Hi Atul,

    The tab can't really directly change the size of that area.   Please Submit a Feature Request and perhaps this can be added in a future release.

    There are quite a few ways you could accomplish this look though.  One would be to put the tab control in a panel and set the BackColor of the panel to match the color of the tab header area set through the isl you created.  I attached a modified version of the previously posted sample and the first tab control on the left shows how that would be done. 
    Another way would be to use the isl you are currently using and add another styleset.  This other styleset could just use the same resource in the tab header area and on an ultrapanel. Then on the ultrapanel you would set the styleset name property, done through code in this example.  This way any other UltraPanels you were using would not pick up the styleset and would look like the default styleset in the isl.  The modified isl is in the bin folder called "DefaultTheme2.isl" and I moved the code that loads the isl to the Program.cs Main method. 

    UltraTab_Modified.zip