[Qt-qml] problem with transitions

Ivan De Marino ivan.de.marino at gmail.com
Wed Apr 21 19:41:37 CEST 2010


Check out also the grammar of "Behaviour"s. That changed as well.

Anyway, if you are using the "4.7"/"4.7-stable" branch there is a changelog
for "Declarative" in "src/declarative".
So you never get "surprises".

Rest assured that it's not like a "huge" change, but actually a set of
improvements and simplifications, so that ur code will look even better ;)

On 21 April 2010 07:53, <michael.brasser at nokia.com> wrote:

> Hi,
>
> On 20/04/2010, at 8:06 PM, ext Gianni Valdambrini wrote:
> > I wrote a custom element that looks like a text element with a slide
> > effect on the text change.
> > The problem is in the transition. The element works in this way:
> > there are 2 text elements, one placed on the left and the other on the
> > right of the element. The latter has the same left and right anchor in
> > order to hide the element.
> > When the text changes the transition expands the text on the right
> > changing its left anchor and shrinks the left one.
> > Everything seems to work fine if I disable the transition, with the text
> > on the right not visibile. Using the old version of Qml from Qt Creator
> > Qml 1.3.8 everything works fine even with transition enable (replacing
> > "properties" with "matchProperties" and the easing syntax), so I cannot
> > figure out what is wrong with this code.
> > Any help is appreciated.
>
> In the past couple weeks there have been quite a few changes to
> AnchorChanges, and an AnchorAnimation element has been introduced. After
> updating your example to the latest syntax, I wasn't able to see any obvious
> issues. Are you able to update your build and see if it is working right for
> you?
>
> Regards,
> Michael
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>



-- 
Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
www.detronizator.org | www.linkedin.com/in/ivandemarino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100421/f93e146e/attachment.html 


More information about the Qt-qml mailing list