mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-17 19:07:15 +00:00
This is a hack, but it seems to do quite okay. What we should do is to find the largest size the Box could want in its main axis. To do that we have to layout the Box according to the needed LayoutMode. For flex-rows we do as requested and try to make the Box as wide as we want. However, for flex-columns we simply assume the Box is a Block and we calculate their height according to this.
31 KiB
31 KiB