mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
This solves an issue in GScrollableWidget where hiding one of the two scrollbars needs to trigger a relayout since the other one should grow into the "shared space" in the bottom right corner. A GWidget can now override custom_layout() which will be called at any time we would normally delegate work to the GLayout, e.g on resize or child visibility changes, size policy changes, etc.
6.3 KiB
6.3 KiB