Releases: Nukesor/comfy-table
Releases · Nukesor/comfy-table
v2.1.0
v2.0.0
[2.0.0] - 2021-01-16
Added
Dynamic arrangement
A new logic to optimize space usage after splitting content has been added.
If there is a lot of unused space after the content has been arranged, this space will now be redistributed ot the remaining columns.
Or it will be removed if there are no other columns.
This is considered a breaking change, since this can result in different table layouts!!
This process is far from perfect, but the behavior is better than before.
Old behavior:
+-----------------------------------+-----------------------------------+------+
| Header1 | Header2 | Head |
+==============================================================================+
| This is a very long line with a | This is text with a | smol |
| lot of text | anotherverylongtexttesttest | |
+-----------------------------------+-----------------------------------+------+
New behavior:
+-----------------------------------------+-----------------------------+------+
| Header1 | Header2 | Head |
+==============================================================================+
| This is a very long line with a lot of | This is text with a | smol |
| text | anotherverylongtexttesttest | |
+-----------------------------------------+-----------------------------+------+
Old behavior:
+------------------------------------------------+
| Header1 |
+================================================+
| This is text with a |
| anotherverylongtexttesttestaa |
+------------------------------------------------+
New behavior:
+-------------------------------+
| Header1 |
+===============================+
| This is text with a |
| anotherverylongtexttesttestaa |
+-------------------------------+