On Tue, 20 Sep 2011, Juha Turunen wrote: > On Tue, Sep 20, 2011 at 10:23 PM, Pris Matic > <[email protected]> wrote: >> You can get the number of elements in the column using the >> 'ColumnID.children.length' property. Then you should be freely add and >> remove buttons and maintain your spacing: >> ie. change the Item to: > > If the heights of all the buttons are the same Column's spacing > property can be used. This way there's no need for the wrapping Items > and less property binding (1 bind vs. the amount of buttons).
I did try "spacing", but since spacing is only between elements, the first button in the Column is aligned to the top of the Column. -- John W. Temples, III _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
