-
How to modify the ModelRc for update Slint Ui in Rust? I try to update ui by modify the ModelRc in a thread with a timer, but I found the memory always increase when the application running. I tried to verify in a simplified code, but the problem still persists。
ps: When I only comment out the set line of code(for ModelRc or VecModel), the memory will remain normal, but UI not update. Rust code
Slint code
|
Beta Was this translation helpful? Give feedback.
Answered by
Ioridy
Jul 11, 2025
Replies: 1 comment
-
It's a long time to feedback the question. I found the reason is that the Font Cache, but change to use skia is OK. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ioridy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a long time to feedback the question. I found the reason is that the Font Cache, but change to use skia is OK.