mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 12:43:16 +00:00
8032191366
Third column in table example was using the `Max` constraint. But since version 0.16, the layout system does not add a hidden constraint on the last column which would ensure that it fills the remaining available space (a change that was already mentioned in #525). In addition, `tui` does not support sizing based on content because of its immediate mode nature. Therefore, `Max` is now resolved to `0`. Replacing with `Min` fixes the issue. A new way of specifying constraints is being worked on at #519 which should for more deterministic and advanced layout. |
||
---|---|---|
.. | ||
demo | ||
barchart.rs | ||
block.rs | ||
canvas.rs | ||
chart.rs | ||
custom_widget.rs | ||
gauge.rs | ||
layout.rs | ||
list.rs | ||
paragraph.rs | ||
popup.rs | ||
sparkline.rs | ||
table.rs | ||
tabs.rs | ||
user_input.rs |