ronuse / norseu

Configurable React Components by Ronuse
https://301s.github.io/?ru_rui
5 stars 0 forks source link

Update linear layout make it such that the children extend to fill width and the last does not grow too big #9

Open Thecarisma opened 3 years ago

Thecarisma commented 3 years ago

The issue if for a flex with it children growing to fill the space if 4 element occupy first row/column, if the size is not a multiple of 4, the last element will grow abnormally to fill the size of the top 4 laid children, so the linear layout should calculate the maximum size each element occupy in the 4 column and the last child should be the max size of it not expand abnormally.