I want to simply make sure that my property is getting set correctly, so I am logging it to console, but this logging is only possible when I use the brackets, but then this makes the actual setting of the value no longer work:
FileMenu{
width: menuListView.width
height: menuBar.height
topmargin: {labelList.height;
console.log("top margin is:"+labelList.height)
}
Of course, this builds fine:
topmargin: labelList.height
How do you inject a console log in this case?
↧