4 ms·
Because almost every GUI component is responsible for sizing and positioning its own children. A separate tree might be useful for some other optimisations I ca
by Sophistifunk 9y ago
Because almost every GUI component is responsible for sizing and positioning its own children. A separate tree might be useful for some other optimisations I can't think of, but it would definitely be a pain for components, even those with a fixed number of children (as opposed to "container" components).