Well it seems that this behaviour was introduced sinde the appearance layer was built.

I tried your proposal with nowrap which really avoids the linebreak but does not display the part of the items correctly which is out of view.

Please have a look at the attached example:




Sebastian Werner schrieb:
Dietrich Streifert schrieb:
Hello List,

If QxList was set to

setOverflow("auto");

previous to appearance implementation the list displayed QxListItem widgets in a single line and created scrollbars on demand to handle the horizontal overflow.

With current renderer CVS the lines are broken at the width of the QxList which partly overwrites the next line. This is for FireFox 1.5 and IE 6.

Should be better, if you add a nowrap to the listitems:

item.setStyleProperty("whiteSpace", "nowrap");

But this also seems to be a bit buggy when the items are selected. I have no idea to fix this currently.

Sebastian



A testcase is attached.

Best regards...


------------------------------------------------------------------------

List horizontal overflow handling




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH

Title: qooxdoo demo dev

List with colored List Items

Reply via email to