I only today found out why I couldn't get layoutInset: to work like in older examples: Rectangles are now forced to have normalized origin and corner. The result is that the inset tends to be at an unexpected side. Replacing the Rectangle by a Margin (and switching argument order) helps.
Stephan
