newline
This commit is contained in:
parent
5de7ac0c60
commit
8495242f21
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ pub struct TableBody<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> TableBody<'a> {
|
impl<'a> TableBody<'a> {
|
||||||
/// Add rows with same height
|
/// Add rows with same height.
|
||||||
|
///
|
||||||
/// Is a lot more performant than adding each individual row as non visible rows must not be rendered
|
/// Is a lot more performant than adding each individual row as non visible rows must not be rendered
|
||||||
pub fn rows(mut self, height: f32, rows: usize, mut row: impl FnMut(usize, TableRow<'_, '_>)) {
|
pub fn rows(mut self, height: f32, rows: usize, mut row: impl FnMut(usize, TableRow<'_, '_>)) {
|
||||||
let delta = self.layout.current_y() - self.start_y;
|
let delta = self.layout.current_y() - self.start_y;
|
||||||
|
|
Loading…
Reference in a new issue