[Qt-qml] Anchoring of elements in Row or Column

Rakesh.Mutharaju at tieto.com Rakesh.Mutharaju at tieto.com
Tue May 18 08:32:06 CEST 2010


forgot to mention i am using "Repeater" in Row .,

-rakesh

________________________________
From: qt-qml-bounces at trolltech.com [mailto:qt-qml-bounces at trolltech.com] On Behalf Of Rakesh.Mutharaju at tieto.com
Sent: Tuesday, May 18, 2010 9:29 AM
To: qt-qml at trolltech.com
Subject: [Qt-qml] Anchoring of elements in Row or Column


Hello,

           Is there a possibility to anchors elements in Row or Column? Well, I am trying to update x position of an element in Row and I want the other elements to align with respect to the element. I want to the elements added to anchors to the elements in the row with spacing.

Something like .,

Element[1].right : Element[2].left
Element[1].rightmargin : rowspacing

Element[2].left: Element[1].right
Element[2].leftmargin : rowspacing    ---->> this may lead to circular dependency., is there a better way of acheiving the result,


Good example might be helpful. Moreover documentation needs to be updated., I am getting error when I use the

Row {
     id: positioner
     move: Transition<http://doc.trolltech.com/4.7-snapshot/qml-transition.html> {
         NumberAnimation {
             properties: "x"
             ease: "easeOutBounce"  ---->>>>> error. Ease invalid.
         }
     }
 }

http://doc.trolltech.com/4.7-snapshot/qml-row.html


Thanks and Regards,
Rakesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100518/d96553f4/attachment.html 


More information about the Qt-qml mailing list