Michael Ragazzon
|
6a2a4c68c5
Add properties for flexbox layout
|
4 years ago |
Michael Ragazzon
|
40862ebb05
Add formatting context mode for LayoutDetails::BuildBox
|
4 years ago |
Michael Ragazzon
|
16e6a67dd7
Give proper warnings when making table elements floating or absolutely positioned, as this is currently not supported. See #221.
|
4 years ago |
Michael Ragazzon
|
828d52bff2
Split layout pool to avoid wasted memory.
|
5 years ago |
Michael Ragazzon
|
c313b56fce
TableLayout: Make auto margins work also after size changes. Respect min/max width and height. Make column percentage width >= 100% act as custom flexible width.
|
5 years ago |
Michael Ragazzon
|
4771ced11d
LayoutDetails: Cleanup
|
5 years ago |
Michael Ragazzon
|
aee2c49f8b
Add support for table-row-group and table-column-group. Table layout cleanup.
|
5 years ago |
Michael Ragazzon
|
8cacf8d8c2
Layout engine: Clean up some headers and functions.
|
5 years ago |
Michael Ragazzon
|
a14ca63cdd
Snap columns positions and sizes to the pixel grid. Clean up table layout.
|
5 years ago |
Michael Ragazzon
|
da4d73e6a4
Add 'display: table-column' keyword and use also column elements to determine the column widths. Add row-gap and column-gap properties for table spacing.
|
5 years ago |
Michael Ragazzon
|
f529a8cf51
Initial support for tables
|
5 years ago |
Michael Ragazzon
|
59b7f050d5
LayoutEngine: Move the box generation out of the LayoutBlockBox and pass it in.
|
5 years ago |
Michael Ragazzon
|
0ae3737a83
FormatElement cleanup
|
5 years ago |
Michael Ragazzon
|
b0196fdeca
Fix some absolutely positioned elements not being placed.
|
5 years ago |
Michael Ragazzon
|
7b19b6bda0
LayoutEngine: Repeat formatting of elements creating a new block formatting context when necessary.
|
5 years ago |
Michael Ragazzon
|
674e9a533e
Try to fix build.
|
5 years ago |
Michael Ragazzon
|
db6509cdb7
LayoutEngine: Some cleanup.
|
5 years ago |
Michael Ragazzon
|
241824e986
Fix clipping of overflowing inline content. See #116.
|
5 years ago |
Michael Ragazzon
|
cde8835600
Layout engine (WIP): Move shrink-to-fit calculation into the box size generator. Fixes eg. shrink-to-fit in 'position: absolute'. Split the layout things to do with sizing into 'LayoutDetails'.
|
5 years ago |
Michael Ragazzon
|
f587d3abf4
Some cleanup in the layout engine.
|
5 years ago |
Michael Ragazzon
|
63a3a1b3dd
Use shrink-to-fit width for floats and absolutetely positioned elements with auto width.
|
5 years ago |
Michael Ragazzon
|
e9844e3801
The big restructuring for RmlUi 4.0. This involves breaking changes but should benefit everyone using the library in the future.
|
5 years ago |
Michael Ragazzon
|
005b4042c7
Several warnings fixed with '-Wall -Wextra' and on MSVC with '/W4'.
|
5 years ago |
Michael Ragazzon
|
ed53499025
Try again
|
5 years ago |
Michael Ragazzon
|
97729eeefa
Fix some headers
|
5 years ago |
Michael Ragazzon
|
7d37ea414e
Remove unused headers, forward declare instead where possible. Move Tween functions into cpp-file. Remove Stream conversion to/from String through type converter.
|
5 years ago |
Michael Ragazzon
|
6c53cbf85b
Remove #include "precompiled.h" from source files, CMake handles it instead. Include what we actually use in header and source files. For non-precompiled headers measurements indicate ~30% reduction in compile time. See #81.
|
5 years ago |
Michael Ragazzon
|
a6d058b58b
Remove 'StyleSheetKeywords.h'. Instead, use the Style:: namespace in ComputedValues.h.
|
6 years ago |
Michael Ragazzon
|
27f5076634
Fix include
|
6 years ago |
Michael Ragazzon
|
25b8b45ca7
Rework some of the element instancers and the pool. Use pools for assigning plain Elements and ElementTextDefault.
|
6 years ago |