forked from extern/nushell
chart tweaks for windows (#2626)
This commit is contained in:
parent
e4c6336bd4
commit
f0b7ab5ecc
@ -123,7 +123,7 @@ impl<'a> BarChart<'a> {
|
||||
ui.draw(|f| {
|
||||
let chunks = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
.margin(2)
|
||||
.margin(0)
|
||||
.constraints([Constraint::Percentage(100)].as_ref())
|
||||
.split(f.size());
|
||||
|
||||
@ -134,6 +134,7 @@ impl<'a> BarChart<'a> {
|
||||
.bar_style(Style::default().fg(Color::Green))
|
||||
.value_style(
|
||||
Style::default()
|
||||
.fg(Color::Black)
|
||||
.bg(Color::Green)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user