refactor(examples): add missing margin at the bottom of the header of table in the demo

pull/417/head
Florian Dehau 4 years ago
parent 8bce4f1c2f
commit b0f5cea32a

@ -319,7 +319,8 @@ where
let table = Table::new(rows)
.header(
Row::new(vec!["Server", "Location", "Status"])
.style(Style::default().fg(Color::Yellow)),
.style(Style::default().fg(Color::Yellow))
.bottom_margin(1),
)
.block(Block::default().title("Servers").borders(Borders::ALL))
.widths(&[

Loading…
Cancel
Save