mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-25 22:55:06 +02:00
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.
|
- 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.
|
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
|
### Bug Fixes
|
||||||
|
|
||||||
- Fixed `dd` not working on non-first entries.
|
- Fixed `dd` not working on non-first entries.
|
||||||
|
@ -345,7 +345,8 @@ impl CpuGraphWidget for Painter {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||||
.collect::<Vec<_>>()),
|
.collect::<Vec<_>>()),
|
||||||
),
|
)
|
||||||
|
.header_gap(0),
|
||||||
draw_loc,
|
draw_loc,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -147,7 +147,8 @@ impl DiskTableWidget for Painter {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||||
.collect::<Vec<_>>()),
|
.collect::<Vec<_>>()),
|
||||||
),
|
)
|
||||||
|
.header_gap(0),
|
||||||
margined_draw_loc[0],
|
margined_draw_loc[0],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,8 @@ impl ProcessTableWidget for Painter {
|
|||||||
Constraint::Length(*calculated_width as u16)
|
Constraint::Length(*calculated_width as u16)
|
||||||
})
|
})
|
||||||
.collect::<Vec<_>>()),
|
.collect::<Vec<_>>()),
|
||||||
),
|
)
|
||||||
|
.header_gap(0),
|
||||||
margined_draw_loc[0],
|
margined_draw_loc[0],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,8 @@ impl TempTableWidget for Painter {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
.map(|calculated_width| Constraint::Length(*calculated_width as u16))
|
||||||
.collect::<Vec<_>>()),
|
.collect::<Vec<_>>()),
|
||||||
),
|
)
|
||||||
|
.header_gap(0),
|
||||||
margined_draw_loc[0],
|
margined_draw_loc[0],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user