Tirsdag 18. mai 2010 19:08:58 skrev ext Gregory Schlomoff :
> Try something along the lines of secondElement.x = firstElement.x +
> firstElement.width
> 
> Using left and right as you suggested would definitely look more elegant,
> but it doesn't work, don't ask me why.
> 
> On May 18, 2010 8:32 AM,
> <[email protected]<mailto:[email protected]>> wrote:
> 
> forgot to mention i am using "Repeater" in Row .,
> 
> -rakesh
> 
> ________________________________
> From: [email protected]<mailto:[email protected]>
> [mailto:[email protected]<mailto:[email protected]>]
> On Behalf Of [email protected]<mailto:[email protected]>
> Sent: Tuesday, May 18, 2010 9:29 AM
> To: [email protected]<mailto:[email protected]>
> 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...
> 

One problem you might be having is that you are trying to have three different 
things control the x property - the Row, anchors, and setting it directly. You 
should pick just one of these approaches, as only one will actually work at a 
time and you might not know which one that is if multiple methods are fighting 
for control.

-- 
Alan Alpert
Software Engineer
Nokia, Qt Development Frameworks
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to