Hi!<br><br>You could use a <a href="http://qt-project.org/doc/qt-4.8/qml-row.html">Row</a> element and play with the visibilities as you are describing.<br><br>Cheers,<br><br clear="all">Daker Fernandes Pinheiro<br><a href="http://codecereal.blogspot.com" target="_blank">http://codecereal.blogspot.com</a><br>

<br>
<br><br><div class="gmail_quote">2012/9/8 Reza Shah <span dir="ltr"><<a href="mailto:rshah0385@kireihana.com" target="_blank">rshah0385@kireihana.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
Background:<br>
I have two buttons with display order side by side: [A][B]<br>
I like to have the final display like [B]<br>
<br>
In android i can set the visibility of button A to gone, then the B<br>
will occupy button A space.<br>
<br>
I tried to achieve the same thing in qml using anchor.<br>
So when A visibility is false, i set button B left anchor to parent.left.<br>
Is this correct way? or there is better alternative?<br>
<br>
<br>
Regards,<br>
Reza<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</blockquote></div><br>