« Return to Thread: image issues in QxListView

Re: image issues in QxListView

by Sebastian Werner :: Rate this Message:

Reply to Author | View in Thread

Priebe, Jason schrieb:

> OK -- I think I've resolved the broken images issue.  I had
> all sorts of problems with images until I finally changed QxSettings.js
> and rebuilt qooxdoo.js.
>
> It seems that all the demos worked well because they were relying
> on the default "../../themes/icons" path.
>
> I was using QxImageManager.setIconPath(), which worked in most
> situations, but this approach seemed to break the images in the
> empty rows.

If you do this in window.application.pre it should work, too.

>
> Now that I have rebuilt qooxdoo.js, that particular problem went away.
>
> But I have a new problem.  I am trying to dynamically load the
> QxListView.  When I do so, the images show up as 1x1.  If I preload
> the listview with dummy data before I try to dynamically load the
> data, all rows that were preloaded with images have the desired 16x16
> sizing.  Rows that were not preloaded get 1x1 image sizing.
>
> I have tried all possible update functions for QxListView:
>   update
>   updateContent
>   updateLayout
>   updateSort
>
> No luck.  Is there a call I'm missing?  Or should I just tear down the
> listview and build a new one each time?

Good question. In my test-cases this seems to work always. Can you send
us an (small) example which shows this problem?

Sebastian

>
> Jason Priebe
> CBC New Media
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Qooxdoo-devel mailing list
> Qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: image issues in QxListView