Why is the result of slint viewer different from vscode, and the rendering result of rust the same as that of slint viewer? #5179
Answered
by
ogoffart
bleedingfight
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
May 6, 2024
Replies: 1 comment 4 replies
-
I believe the difference is coming from the Style in use. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vscode 's lsp isn't compiled with the Qt style, so that won't work.
But you can disable Qt backend with feature flag, or use other way to set the style, see https://releases.slint.dev/1.5.1/docs/slint/src/advanced/style#selecting-a-widget-style