mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
1224162072
Commit "menu_view: ignore zero-sized widgets in box layout" introduces zero-sized child widgets as a special case but defined zero-sized as zero covered pixels (w*h == 0). However, for layouting, a widget with a non-zero height and zero width is not zero-sized. This patch refines the zero-size condition such that only widgets with both zero width and zero height are considered as zero-sized. It thereby solves the missing display of empty lines in the text_area component.