
Why UI layout calculations are slow
A look at why seemingly simple UIs take a long time to update.

A look at why seemingly simple UIs take a long time to update.
Let’s get into some technical details about how a layout engine works. We assume that we have a tree of elements that comprise the UI.

Images require various sizing modes to fit in a responsive layout. Here we’ll look at the relationship between the element and visual and the basic

A box model describes how to measure an element for layout. It defines what size is and how it relates to the content, margin and

Elements have either a natural size, a dependent size, or combination of the two. The size of an element influences its placement. The user and