Well, I tried the x position approach., i need to recalculate the x position 
for everyitem in the Row., as they are not connected (anchored i mean). This is 
adding complications.
If they were anchored it would be simple to set x and the items get to relative 
positions.

I mean is it possible to do this calculation in the background., lower level. 
Making it real "Quick " for developer

Ofcourse, now I that working for myself.

Cheers,
Rakesh 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Alan Alpert
Sent: Tuesday, May 18, 2010 12:39 PM
To: [email protected]
Subject: Re: [Qt-qml] Anchoring of elements in Row or Column


 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]
> om>] 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

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to