Torsdag 22. april 2010 23:21:33 skrev Kellomaki Pertti (Nokia-D/Tampere) : > I am trying to put non-QML widgets inside a Column, but all the widgets > get drawn on top of each other. What does an element need to understand > ori provide in order to be positioned by a Column?
Currently, the Positioner elements will only position QDeclarativeItem subclasses. It may be possible to lift that restriction now, like we have with some other elements, but we need to look into that further before we can implement such a change. The Qt.widgets plugin includes simple bindings for QGraphicsLinearLayout and QGraphicsGridLayout, and these might be more useful when dealing with widgets because they also manage the size of the widget (they behave like the more traditional Qt layouts). You may wish to use these or similar bindings if you are trying to create a scene in QML which does not use the Qt Declarative QML primitives. -- Alan Alpert Software Engineer Nokia, Qt Development Frameworks _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
