ladybird/Applications/KeyboardMapper
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
..
CMakeLists.txt Applications: Add new KeyboardMapper application 2020-06-03 21:52:40 +02:00
KeyboardMapperWidget.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
KeyboardMapperWidget.h Applications: Add new KeyboardMapper application 2020-06-03 21:52:40 +02:00
KeyButton.cpp LibGUI+WindowServer: Rename window "override cursor" to just "cursor" 2020-09-11 14:26:37 +02:00
KeyButton.h Application: KeyboardMapper, make button to like a real key 2020-06-13 12:36:30 +02:00
KeyPositions.h Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
main.cpp Applications: Use pledge and unveil 2020-11-02 22:36:27 +01:00