we love post fix
This commit is contained in:
1 parent
3653f24e06
commit
20b044865c
2 files changed
+13
-7
No files matched your search
@@ -33,6 +33,12 @@ pub trait WidgetLike<Ctx, Tag> {
|
||||
{
|
||||
self.add(ui).into_static()
|
||||
}
|
||||
fn set_root(self, ui: &mut Ui<Ctx>)
|
||||
where
|
||||
Self: Sized,
|
||||
{
|
||||
ui.set_root(self);
|
||||
}
|
||||
}
|
||||
|
||||
/// A function that returns a widget given a UI.
|
||||
|
||||
Reference in new issue
Block a user