picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.57k stars 325 forks source link

Wpf: Optimize layout of parent controls when size of control is set #2504

Closed cwensley closed 1 year ago

cwensley commented 1 year ago

Don't propagate the measure invalidation to the parent if a container size is set.

This can also help prevent endless layout updates when the children size/position (e.g. in a PixelLayout) are set when the size changes, especially in odd DPI scales such as 150%.