ladybird/DevTools
Andreas Kling 7dc5a3ead8 LibGUI: Rewrite layout system in terms of min and max sizes
This patch removes size policies and preferred sizes, and replaces them
with min-size and max-size for each widget.

Box layout now works in 3 passes:

    1) Set all items (widgets/spacers) to their min-size
    2) Distribute remaining space evenly, respecting max-size
    3) Place widgets one after the other, adding spacing in between

I've also added convenience helpers for setting a fixed size (which is
the same as setting min-size and max-size to the same value.)

This significantly reduces the verbosity of widget layout and makes GML
a bit more pleasant to write, too. :^)
2020-12-30 01:36:41 +01:00
..
HackStudio LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
Inspector LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
IPCCompiler LibIPC: Remove use of ByteBuffer::wrap() 2020-12-19 11:30:02 +01:00
Playground Base+Playground: Add app-playground.png 16x16 and 32x32 icons 2020-12-27 18:36:43 +01:00
Profiler LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
UserspaceEmulator Kernel: Remove the per-process icon_id and sys$set_process_icon() 2020-12-27 01:16:56 +01:00
CMakeLists.txt DevTools: Add a simple GML Playground application :^) 2020-12-26 19:04:46 +01:00