switch to Rc<RefCell<...>> for widget storage
This commit is contained in:
@@ -2,7 +2,7 @@ use crate::prelude::*;
|
||||
|
||||
pub struct Pad {
|
||||
pub padding: Padding,
|
||||
pub inner: WidgetId,
|
||||
pub inner: WidgetRef,
|
||||
}
|
||||
|
||||
impl Widget for Pad {
|
||||
|
||||
Reference in New Issue
Block a user