PDA

View Full Version : Tooltip linebreak problem



hflipman
13 Feb 2010, 10:52 AM
Hi,

I have a TreePanel with a bottom toolbar. The bottom toolbar has tooltips. Like:



var tree = new Ext.tree.TreePanel({
....
bbar : [
{
id : 'tbarrename',
disabled : true,
tooltip : 'Rename folder',
iconCls : 'icon-folder-rename'
},
....
As you can see in the attachment, a newline is added between 'Rename' and 'folder'. This does not happen on Safari, but only on FF (not sure about IE since I don't use that).

Any idea how to prevent this?

Thanks.

Henk

prophet
13 Feb 2010, 1:12 PM
Perhaps try using a non-breaking-space between the words.  

hflipman
13 Feb 2010, 1:15 PM
Wow. That worked. Didn't think it would be that easy ;-).

Thanks!

Henk