Dietrich Streifert schrieb:
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:

I have already changed this here, too.

The problem could be related to the fact, that the list-items normally spans between the width of the listview. In this test case here the needed behavior is different. The listitems should have a "auto" width but should also stretch to the one item, which is the widest. I could not imagine that we have introduced a problem here with the appearance. I think it is more related to a really complex type of layout.

Sebastian






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


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

List with colored List Items




-------------------------------------------------------
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

Reply via email to