reuk
7eb99ed8ec
Grid: Avoid hangs when positioning auto-placement items that are too large for the explicit grid
Previously, positioning such an item would hang while trying to find an
appropriate position for the item, because no position in the grid was
suitable, and implicit cells in the layout direction would be added
until a viable position was found.
We now ensure that there are enough cells in the cross direction to hold
each of the auto-placement items before trying to position those items.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
6bc51f97e4
Grid: Avoid crashing in performLayout when the grid contains no items
3 years ago
reuk
c3c171acaf
Grid: Fix behaviour with negative row/column indices
Negative indices should count backwards from the last explicit
row/column number. If the resulting line number would appear before
the first explicit row/column, implicit grid lines should be added
before the first explicit row/column.
3 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
Tom Poole
322069ce27
Grid: Added some methods to help serialisation
5 years ago
ed
f1d3ac227f
Fixed some MSVC warnings in Grid
5 years ago
Tom Maisey
1a8d676f5b
Respect GridItem min/max width/height
5 years ago
Tom Poole
a12bc32979
Fixed some warnings on the latest compilers
5 years ago
Tom Poole
ff70ebb03e
Fixed a layout issue in the Grid class
5 years ago
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
6 years ago
ed
97e545cd44
Moved the Grid unit tests into juce_Grid.cpp and re-saved all projects
6 years ago
jules
8e91bfabf7
Spelling correction
6 years ago
ed
4af9526ab5
Fixed a bug in Grid where the area calculation could terminate early
7 years ago
ed
40c948826c
Added some braces in juce_Grid.cpp to work around a VS2015 compiler bug
7 years ago
jules
121719be69
Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping
7 years ago
jules
d4a7afa73f
Replaced some old juce-style sort operations with std::sort and lambdas
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
88c734d28d
Fixed a crash when performing layout on an empty Grid using auto flow and added a few Margin convenience constructors
7 years ago
jules
2bbd2b9785
Added CSS Grid classes
7 years ago