Padding layout does not resize because when measure function is called, it return a "clean" DirtyBuffer because inside the function there is no way to know the new size of the parent. When the measure function return a "clean" DirtyBuffer, the arrange function is not called, but it is the arrange function that is able to detect parent size changes and modify the size of the PaddingLayout. This make impossible to all widget that use this Layout to be redraw on window resize (the first draw work, but not the others).
Padding layout does not resize because when measure function is called, it return a "clean" DirtyBuffer because inside the function there is no way to know the new size of the parent.
When the measure function return a "clean" DirtyBuffer, the arrange function is not called, but it is the arrange function that is able to detect parent size changes and modify the size of the PaddingLayout.
This make impossible to all widget that use this Layout to be redraw on window resize (the first draw work, but not the others).

redox-os/orbtk