mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
content is wrapped
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user