> > The item2 would be positioned at the bottom or aligned at the center? > I think the best approach would be to apply the default layout just > for items without vertical anchors, but in order to do that we need > some metaobject introspections since anchors are declared in the > QDeclarativeItem's private class, which is kind of ugly.
As long as the layout only governs the x,y coordinates and leaves anchoring alone, the anchoring on the last item will win. I think that can be a reasonable compromise. This is already how the Row/Column already function. (apart from the fact that the y coordinate is always 0 for rows etc). > We are already in the qt-qml mailing list :). Indeed :) > span, shouldn't be there since it's just used by the Grid. So, maybe a > GridLayout would be better in this case, to avoid adding specific > properties in the Layout attachment. Yes, you are right about that. I think my proposal would only really with splitters and row/column layouts. So it might not be such a good idea after all. Regards, Jens _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
