Skip to content

Does slint check value change when updating a struct property? #3948

Answered by ogoffart
chonwhite asked this question in General
Discussion options

You must be logged in to vote

As of now, Slint checks when setting a property if it is the same value or not. If not the same value, all dependent property becomes dirty. and the properties that depends of these dirty property too, even if the property would not change.

So yes, splitting the struct will help.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chonwhite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants