On Thu, Feb 3, 2011 at 8:50 PM, <[email protected]> wrote:
>
> Hi,
>
> I've implemented an as-simple-as-you-can-imagine Margins QML type for the
> Qt Components implementation.
>
> Defining a Margin like this works fine:
> property Margins margins
>
> But when I try to set the margin like this
> margins: { left: 10; right: 10; top: 10; bottom: 10 }
> I get "Unable to assign double to QCpMargins*" errors
> (my class is called QCpMargins just not to clash with Qt's QMargins class)
Shouldn't it be:
"margins: Margin { left: 10, right: 10; top: 10; bottom: 10 }"?
Juha
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml