Hi Csfahey,

Yesterday csfahey wrote:

> I have a problem with animation resizing over top of sibling widgets.  I want
> to have a couple widgets next to each other in a collapsed state and when
> the mouse moves over one, it expands by resizing using the animation
> routines which should push the siblings over.  When it loses focus, the
> widget then collapses and the siblings should move back into position. The
> problem I am having is that the siblings of the resizing widget do not move
> when the resize occurs so the expanding widget displays over top of it.  I
> don't know how to fix this either as a property of the parent/layout or by
> using event handling to explicitly move the siblings. Can anyone help?

the reason for this is that, you are animating the dom object ...
while qooxdoo actually calculates all the widget positions using
its internal rendering infrastructure.  This internal rendering is
the reason that qooxdoo lets you do layouts that are not easily
possible with conventional frameworks.  But it also has the effect
that doing dom transformations does not in general trigger a
re-calculation of all object positions within the qooxdoo layout.

something like this

   http://tinyurl.com/zfbbnj4

(no, its not perfect ... )

cheers
tobi

> Here is the playground code.
>
> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Widgets-not-moving-during-animated-resize-tp7587790.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch t...@oetiker.ch +41 62 775 9902


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to