From 23d187986ef2e835f144395b54cf05954aa99128 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Mar 2024 00:40:23 +0800 Subject: chore(deps): bump ratatui from 0.25.0 to 0.26.1 (#368) * chore(deps): bump ratatui from 0.25.0 to 0.26.1 Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.1. - [Release notes](https://github.com/ratatui-org/ratatui/releases) - [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md) - [Commits](https://github.com/ratatui-org/ratatui/compare/v0.25.0...v0.26.1) --- updated-dependencies: - dependency-name: ratatui dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Use legacy layout (for now) --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com> --- src/display/components/table.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/display/components/table.rs b/src/display/components/table.rs index 2b450b1..59193a0 100644 --- a/src/display/components/table.rs +++ b/src/display/components/table.rs @@ -380,6 +380,7 @@ impl Table { let table = ratatui::widgets::Table::new(tui_rows_iter, widths_constraints) .block(Block::default().title(self.title).borders(Borders::ALL)) .header(Row::new(column_names).style(Style::default().fg(Color::Yellow))) + .flex(ratatui::layout::Flex::Legacy) .column_spacing(spacer_width); frame.render_widget(table, rect); } -- cgit v1.2.3