diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/display/components/table.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |