PDA

View Full Version : Space after removing icon from a tabpanel



dreamcaster
27 Feb 2010, 2:02 AM
Hello experts,

I'm not sure if this is a bug or something, I have a simple tabpanel with a panel as item. I set the title of the panel by calling
panel.setTitle('Title', ['icon-class'])
The icon works well but when I tried to remove the icon using the same method
panel.setTitle('Title', [''])
The icon was gone but the space provided for the icon stayed. Is there a way how can I get rid of that space? Thanks