On Thu, Feb 3, 2011 at 5:38 PM, <[email protected]> wrote:
>> You need to remove the colon or place the element name after it.
>
> Well spotted. Unfortunately it didn't help with the main issue. Same result.
> :(
Strange. Try to declare the "Margins" element using pure QML and see
if it works...
// MyMargins.qml
QtObject {
property real left : 0
property real top : 0
property real right : 0
property real bottom : 0
}
// BorderItem.qml
Item {
property MyMargins border
border : MyMargins { }
}
// main.qml
BorderItem {
border {
left: 6
right: 5
}
}
Br,
Adriano
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml