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
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.
PFA the snapshots of two images first one is what we have right now and the second one is what we want.
Thanks
May I ask if you can clarify your requirement and provide a mockup illustrating what you are trying to achieve?