content is wrapped

This commit is contained in:
René Rössler 2022-02-09 13:03:02 +01:00
parent 3c5d04a041
commit 6db4b929eb
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ impl<'a, 'b> Grid<'a, 'b> {
self.layout.add(width, height, clip, add_contents); 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)) { pub fn cell(&mut self, add_contents: impl FnOnce(&mut Ui)) {
self._cell(false, add_contents); self._cell(false, add_contents);
} }

View file

@ -263,7 +263,7 @@ impl<'a, 'b> TableRow<'a, 'b> {
response response
} }
/// Add column /// Add column, content is wrapped
pub fn col(&mut self, add_contents: impl FnOnce(&mut Ui)) -> Response { pub fn col(&mut self, add_contents: impl FnOnce(&mut Ui)) -> Response {
self._col(false, add_contents) self._col(false, add_contents)
} }