Replace placement calls with region nodes
This commit is contained in:
1 parent
f437495309
commit
71c9c39523
23 files changed
+374
-170
No files matched your search
@@ -3,6 +3,7 @@ use crate::Widget;
|
||||
pub struct WidgetData {
|
||||
pub widget: Box<dyn Widget>,
|
||||
pub label: String,
|
||||
pub(super) region_node: bool,
|
||||
/// dynamic borrow checking
|
||||
pub borrowed: bool,
|
||||
}
|
||||
@@ -16,6 +17,7 @@ impl WidgetData {
|
||||
Self {
|
||||
widget: Box::new(widget),
|
||||
label,
|
||||
region_node: false,
|
||||
borrowed: false,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user