The main part of this PR is to add (hidden, debug-only) status tracking for widgets and fix the resulting failures. Closes #408. (Uses solution 9 of #407, limiting function modifications to avoid observable side-effects besides panic-on-check-failure.)
Also:
Compare a WidgetId to an &str according to display repr. This is useful when debugging a specific widget.
Dump expansion of #[widget] macro for a specific widget easily:
Most methods adding pages to Stack do not change the active page
ListView / MatrixView no longer use a default (unconfigured) widget for sizing. This means that if no data was available, the child size might be calculated as zero. Fixes added to handle that and the later addition of data.
Remove pre_configure; call configure and updatebefore recursion.
Remove Events::recurse_range; add configure_recurse and update_recurse
The main part of this PR is to add (hidden, debug-only) status tracking for widgets and fix the resulting failures. Closes #408. (Uses solution 9 of #407, limiting function modifications to avoid observable side-effects besides panic-on-check-failure.)
Also:
WidgetId
to an&str
according to display repr. This is useful when debugging a specific widget.#[widget]
macro for a specific widget easily:Stack
do not change the active pageListView
/MatrixView
no longer use a default (unconfigured) widget for sizing. This means that if no data was available, the child size might be calculated as zero. Fixes added to handle that and the later addition of data.pre_configure
; callconfigure
andupdate
before recursion.Events::recurse_range
; addconfigure_recurse
andupdate_recurse