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

Rakesh.Mutharaju at tieto.com Rakesh.Mutharaju at tieto.com
Tue May 18 08:28:46 CEST 2010


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/57678801/attachment.html 


More information about the Qt-qml mailing list