Hi, Thanks for response! It's long time I was active in this mailing list, but it's time to finish our product so I'm getting to be active again :) But I'm unable to do contributions at this time, my code is very connected with our product and I'm not using qooxdoo in recommended way - I broke the one file per class rule and I have one precompiled qooxdoo for all our "apps". I just needed more dynamic way than qx-generator can do for me
------- I dig deeped into my problem and it seems that I don't understand the Image class correctly. I think that there is missing simple interface to get the image size, from "loaded" event for example, or from the widget itself. This question is also for core team devs. If I use the qx.ui.basic.Image and listen to the "loaded" event then there is no way how to get the image dimensions except using the qx.io.ImageLoader static class. There are __width and __height members in qx.ui.basic.Image, but these are private and are accessible only by the protected member _getContentHint(). The problem is that __width/__height (content hint) is set after the "loaded" event was fired, so when listening and using _getContentHint() then the old image size is retrieved. The only way that is functional to me is to use qx.io.ImageLoader.getWidth()/getHeight(). But I'm not sure if this is good when mixing managed and unmanaged images (yes, my file admin can browse also qooxdoo resources). So, the question is, why there is no nice api to get the image size when using qx.ui.basic.Image widget. Thanks! Best regards Petr Kobalicek On Mon, Jan 3, 2011 at 6:43 PM, Stefan Volbers <[email protected]> wrote: > > > On 03.01.2011 18:41, Stefan Volbers wrote: >> A qooxdoo based gallery would be great - I always liked the idea, but I >> have time to realise such for myself... > ... > sadly I DON'T have time :-( > > Greetings > Stefan > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
