@Mizmas said in In QML, how to stop children from inheriting parent properties like opacity?:
@jeremy_k Thanks it worked, I wish the Item type had a property to wrap around it's children though, I've tried using childrenRect.width with childrenRect.height for the parent Item's size, but it was a bit messy, at least in the Qt Design Studio.
I'm not sure that I understand the issue. Are you saying that you want a single property to make the parent the same size as the children, rather than 2? I don't use design studio, but I don't see the a mess running the same code via creator.
Another option is to make the background the child of the piece, with a negative z.