You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, clicking the button toggles the boolean in the model, and all widgets except the image created via Image::from_icon_name update as expected.
Changing the default value of the boolean changes which value the image starts with, but that widget never updates for some reason.
This example also demonstrates a workaround: use property_icon_name and property_icon_size instead, and everything works as expected.
In the following example, clicking the button toggles the boolean in the model, and all widgets except the image created via
Image::from_icon_name
update as expected.Changing the default value of the boolean changes which value the image starts with, but that widget never updates for some reason.
This example also demonstrates a workaround: use
property_icon_name
andproperty_icon_size
instead, and everything works as expected.Cargo.toml
:main.rs
:The text was updated successfully, but these errors were encountered: