I am setting the tab.style.width property to 150px and in the designer it looks fine. But when I run the project it seems to autosize the tab to fit the text. Am I missing something? I am using IE 8.
On the client, I added the following to normalize my tab width:
Original Code: myUltraWebTab.Tabs[i].setText(rptTitle);
var title2 = rptTitle;
for (var xx = 36; xx > rptTitle.length; xx--)
title2 +=
'\u00a0';
myUltraWebTab.Tabs[i].setText(title2);
One workaround I found for fixed width tabs is to calculate the number of characters in your longest tab title and then add non-breaking spaces ( ) to the end of each title to make up the difference.