Windows: setting style from environment variables. #9380
Unanswered
StrongTheDev
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having a use case where i am avoiding use of the build script - because compilations are slower; and I have been trying to get styles working without need of a build script.
In my app I use the
slint!{ }
macro - making compilations a bit faster.With that small detail in mind, I have been trying to add styling using environment variables; since it's already available in the python version, couldn't it be nice to add it to the Rust version too?
From the code above, the
SLINT_BACKEND
environment variable works (i am using the software renderer because femtovg seems to lack anti aliasing - but that's not the point); but theSLINT_STYLE
doesn't.Wouldn't that be a great addition to use the
SLINT_STYLE
as well?Beta Was this translation helpful? Give feedback.
All reactions