Hi Sebastian, Sebastian Werner schrieb: >> Ah, I see. That's different. But don't you think that qx could replace >> leading/trailing spaces with  , then? > > Maybe. But it will slow down labels which don't rely on this feature, > too. Maybe we can have a property for this or even a separate class like > WhiteSpaceRespectingLabel ;)
I'd prefer a WhitespaceIgnoringLabel. ;-) >> Ok. But <div style="display:inline">Hello </div><div>World</div> >> preserves the space in FF. > > This is not because display:inline. It is because you have tags around > the text. This is also true for things like: > > bar<span> hello </span>foo > > But all spaces are normalized to one space e.g. > > bar<span> hello </span>foo > > will be presented as > > "bar hello span" Ahh, ok. I see. Actually, I knew this, but I just forgot. This means that I (or you) have to replace *all* whitespaces with  , not only leading and trailing ones. But this would probably interfere with wrapping. And, as the text property for the Label is called "html", the current behavior must be considered correct, after all. But maybe having a property to switch to a "verbatim" mode wouldn't be such a bad idea. Regards, Ralf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel