Re: [qooxdoo-devel] Limiting width of a tooltip

2007-03-21 Thread dperez
Thankx. This is a possible solution, and I can insert the automatically after some fixed number of characters (respecting word boundaries). Maybe there is another solution playing with widget properties. Munkhzorig Bayasgalan wrote: > > I would prefer simply using some html; like ' ' where yo

Re: [qooxdoo-devel] Limiting width of a tooltip

2007-03-21 Thread Munkhzorig Bayasgalan
I would prefer simply using some html; like ' ' where you want to wrap. I mean; var tip = new qx.ui.popup.ToolTip('a really very very verylong long long tooltip'); Regards, On 3/20/07, dperez <[EMAIL PROTECTED]> wrote: Hi, I have this code: var tip = new qx.ui.popup.ToolTip('a really

[qooxdoo-devel] Limiting width of a tooltip

2007-03-20 Thread dperez
Hi, I have this code: var tip = new qx.ui.popup.ToolTip('a really very very very long long long tooltip'); tip.getAtom().getLabelObject().set({ wrap: true, maxWidth: 200 }); tip.setHeight('auto'); But the tip background doesn't co