sologeek
sologeek
# Widget Optimize Plan ## Goal Through the theme default configuration makes the control easier to use and provides rich customization capabilities. ## To be optimized widget - [x] Button...
**Problem** AppCtx::remove_wnd after paint panic **Steps To Reproduce** Steps to reproduce the behavior: 1. Create the second window 2. Render a widget to the second window 3. Remove the second...
 
```rust fn w() -> impl WidgetBuilder { fn_widget! { let support_text = desc.map(|desc| { @SupportingText(Label::new(desc.to_owned())) }); @ListItem { @HeadingText(Label::new("")) @ { supporting_text } } } } ``` ``` the trait...
```rust fn w_parent(msg: S) -> impl WidgetBuilder where S: StateWriter, S::OriginWriter: StateWriter, { w_child(msg.clone_writer()) } fn w_child(msg: S) -> impl WidgetBuilder where S: StateWriter, S::OriginWriter: StateWriter, { } ``` ```...