summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-04 18:17:14 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-04 18:17:14 +0100
commitb03e1b08b515db786e340ce70a23ae85706c3f84 (patch)
treeb3bbe656a2b1e20571bd2f1b4ffd997e25b2e67c /Meta
parentce7b09a3c58940cbf5a74e36e825ce877e328a72 (diff)
downloadserenity-b03e1b08b515db786e340ce70a23ae85706c3f84.zip
LibGUI: Add Widget shrink-to-fit layout flag
If this flag is enabled for a widget, it will be automatically sized based on its children. This only works for widgets using a layout. This allows you to put widgets inside each other without having to manually calculate how large the container should be. It's not the perfect API but it's a decent progression in ergonomics. :^)
Diffstat (limited to 'Meta')
0 files changed, 0 insertions, 0 deletions