LZX's powerful constraints system allows you to declaratively derive the value of a property from the value of other properties. This system can dramatically reduce the amount of code you have to write and facilitate the maintenance of your application.

In this example, representing a simple bar chart, the width of the different bar views is constrained to the width of the parent (the window). When the window is resized, the views are resized appropriately.