ladybird/Applications/Spreadsheet
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
..
CellType Spreadsheet: Override visit_edges() and visit stored JS objects 2020-12-22 23:35:29 +01:00
Readers Spreadsheet: Add a CSV reader and writer 2020-11-24 21:38:13 +01:00
Writers Spreadsheet: Add a CSV reader and writer 2020-11-24 21:38:13 +01:00
Cell.cpp Spreadsheet: Override visit_edges() and visit stored JS objects 2020-12-22 23:35:29 +01:00
Cell.h Spreadsheet: Improve sheet update efficiency 2020-12-22 23:35:29 +01:00
CellSyntaxHighlighter.cpp Spreadsheet: Highlight the source causing an exception in red 2020-12-29 00:58:43 +01:00
CellSyntaxHighlighter.h Spreadsheet: Highlight the source causing an exception in red 2020-12-29 00:58:43 +01:00
CellTypeDialog.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
CellTypeDialog.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
CMakeLists.txt Build: Embed application icons directly in the executables. 2020-12-21 00:12:59 +01:00
CondFormatting.gml LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
ConditionalFormatting.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
CondView.gml LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
Forward.h Spreadsheet: Add conditional formatting 2020-09-25 23:55:33 +02:00
HelpWindow.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
HelpWindow.h Spreadsheet: Add support for example views and hyperlinks in the docs 2020-10-31 15:40:13 +01:00
JSIntegration.cpp Spreadsheet: Show a small inline doc window for the "current" function 2020-12-29 00:58:43 +01:00
JSIntegration.h Spreadsheet: Show a small inline doc window for the "current" function 2020-12-29 00:58:43 +01:00
main.cpp Spreadsheet: Prompt user before closing with unsaved changes 2020-12-23 15:41:49 +01:00
Position.h Spreadsheet: Serialise Positions to URLs and add Sheet::from_uri() 2020-11-03 16:47:56 +01:00
Spreadsheet.cpp Spreadsheet: Show a small inline doc window for the "current" function 2020-12-29 00:58:43 +01:00
Spreadsheet.h Spreadsheet: Show a small inline doc window for the "current" function 2020-12-29 00:58:43 +01:00
SpreadsheetModel.cpp Spreadsheet: Override visit_edges() and visit stored JS objects 2020-12-22 23:35:29 +01:00
SpreadsheetModel.h Spreadsheet: Improve sheet update efficiency 2020-12-22 23:35:29 +01:00
SpreadsheetView.cpp Spreadsheet: Improve sheet update efficiency 2020-12-22 23:35:29 +01:00
SpreadsheetView.h Spreadsheet: Invert the drag-selection trigger 2020-11-30 17:54:54 +01:00
SpreadsheetWidget.cpp LibGUI: Rewrite layout system in terms of min and max sizes 2020-12-30 01:36:41 +01:00
SpreadsheetWidget.h Spreadsheet: Show a small inline doc window for the "current" function 2020-12-29 00:58:43 +01:00
Workbook.cpp Spreadsheet: Prompt user before closing with unsaved changes 2020-12-23 15:41:49 +01:00
Workbook.h Spreadsheet: Prompt user before closing with unsaved changes 2020-12-23 15:41:49 +01:00