content is wrapped
This commit is contained in:
parent
3c5d04a041
commit
6db4b929eb
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ impl<'a, 'b> Grid<'a, 'b> {
|
|||
self.layout.add(width, height, clip, add_contents);
|
||||
}
|
||||
|
||||
/// Add cell
|
||||
/// Add cell, content is wrapped
|
||||
pub fn cell(&mut self, add_contents: impl FnOnce(&mut Ui)) {
|
||||
self._cell(false, add_contents);
|
||||
}
|
||||
|
|
|
@ -263,7 +263,7 @@ impl<'a, 'b> TableRow<'a, 'b> {
|
|||
response
|
||||
}
|
||||
|
||||
/// Add column
|
||||
/// Add column, content is wrapped
|
||||
pub fn col(&mut self, add_contents: impl FnOnce(&mut Ui)) -> Response {
|
||||
self._col(false, add_contents)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue