floem icon indicating copy to clipboard operation
floem copied to clipboard

Expose `View::default_compute_layout`

Open timboudreau opened this issue 1 year ago • 2 comments

While this method is implementable in custom component by copy-paste programming, it would be preferable for custom components to be able to keep up with any changes in the default implementation by calling it directly instead.

timboudreau avatar Jun 03 '24 19:06 timboudreau

maybe we can put the method under ComputeLayoutCx and call it compute_view_children_layout?

dzhou121 avatar Jun 03 '24 20:06 dzhou121

Sure, sounds good.

timboudreau avatar Jun 03 '24 23:06 timboudreau