Quantcast
Viewing all articles
Browse latest Browse all 4972

How to set a "instant" value instead of a relative value of a property? Simple example...

I got it, guys. When we set width: rect.width * 0.5; is happening a binding. Not an assignment. What I should do to assign the value: Component.onCompleted: {          width = rect.width * 0.5;      }

Viewing all articles
Browse latest Browse all 4972

Trending Articles