Andreas Kling
849fdc1c0b
LibGUI: Make Layout a Core::Object and add basic serialization
...
This allows you to view layouts (as data) in Inspector.
2020-03-05 09:22:43 +01:00
Andreas Kling
c5d913970a
LibGUI: Remove parent parameter to GUI::Widget constructor
2020-02-23 12:27:53 +01:00
Andreas Kling
f88fe5dc3f
LibGUI: Don't assert when hovering spacing around single-child Splitter
...
Fixes #1215 .
2020-02-13 20:00:01 +01:00
Andreas Kling
9a09437c46
LibGUI: Splitter should forget resize candidates after cursor leaves
...
Otherwise we'll keep highlighting the grabbable rect even after the
cursor has left the splitter widget.
2020-02-11 11:53:38 +01:00
Andreas Kling
8a605922bb
LibGUI: Make splitters 1px wider as 3px is slightly too narrow
2020-02-11 11:53:38 +01:00
Andreas Kling
1fc887c576
LibGUI: Only highlight grabbable area between a Splitter's children
...
We were previously cheating by setting the entire splitter's background
color to the hover highlight color. This looked goofy whenever there
were transparent widgets inside a splitter, since the highlighted color
would shine through when hovering.
This was especially noticeable in SystemMonitor, which now looks much
better. :^)
2020-02-11 11:53:38 +01:00
Andreas Kling
7aa62665a3
LibGUI: Factor out Splitter hit testing into a separate function
2020-02-11 11:53:38 +01:00
Andreas Kling
6a9cc66b97
LibGUI: Remove leading G from filenames
2020-02-06 20:33:02 +01:00