ayodele
12/29/2022, 7:00 PMmargin be applied to a view itself instead of on the constraint ?Nick
12/29/2022, 7:09 PMayodele
12/29/2022, 7:13 PMNick
12/29/2022, 7:22 PMwritable (0.9.0). You can do this directly or via a composite property like bottom:
lastView.bottom eq parent.bottom.writable + margin.
This will work as long as the parent isn’t being forced to a smaller size by any outside layout etc., and the views are constrained so they don’t collapse is the parent has a smaller height.ayodele
12/30/2022, 9:23 AMayodele
12/30/2022, 9:24 AMview.height.preserve the UI will freeze, no component will be displayedayodele
12/30/2022, 9:29 AMconstrain(view){
    <http://it.top|it.top> eq   10
    it.left eq  10
    //it.height.preserve
    it.bottom eq parent.bottom.writable
}
Code to test with. When you uncomment the it.height.preserve it works.ayodele
12/30/2022, 12:21 PM