Remove header gap in most tables
This commit is contained in:
parent
90e1e9f4cb
commit
b42583e04c
|
@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- In addition, changed to using only legends within the graph for network, as well as redesigned the legend.
|
||||
The old legend style can still be used via the `--use_old_network_legend` flag or `use_old_network_legend = true` option.
|
||||
|
||||
- Removed header gap on tables.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Fixed `dd` not working on non-first entries.
|
||||
|
|
|
@ -345,7 +345,8 @@ impl CpuGraphWidget for Painter {
|
|||
.iter()
|
||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||
.collect::<Vec<_>>()),
|
||||
),
|
||||
)
|
||||
.header_gap(0),
|
||||
draw_loc,
|
||||
);
|
||||
}
|
||||
|
|
|
@ -147,7 +147,8 @@ impl DiskTableWidget for Painter {
|
|||
.iter()
|
||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||
.collect::<Vec<_>>()),
|
||||
),
|
||||
)
|
||||
.header_gap(0),
|
||||
margined_draw_loc[0],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -264,7 +264,8 @@ impl ProcessTableWidget for Painter {
|
|||
Constraint::Length(*calculated_width as u16)
|
||||
})
|
||||
.collect::<Vec<_>>()),
|
||||
),
|
||||
)
|
||||
.header_gap(0),
|
||||
margined_draw_loc[0],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -148,7 +148,8 @@ impl TempTableWidget for Painter {
|
|||
.iter()
|
||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||
.collect::<Vec<_>>()),
|
||||
),
|
||||
)
|
||||
.header_gap(0),
|
||||
margined_draw_loc[0],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue