Selecting a Widget Style with NodeJS #4540
Unanswered
matheusdsg27
asked this question in
General
Replies: 1 comment
-
That page should be updated to include s link to https://slint.dev/releases/1.4.1/docs/node/interfaces/LoadFileOptions#style Also the SLINT_STYLE env variable should work |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi guys, in the slint simulator integrated with visual studio I saw that there are several pre-defined styles, how can I apply these styles to my application?
I'm using NodeJS and npm start. (reference: https://slint.dev/releases/1.4.1/docs/slint/src/advanced/style#selecting-a-widget-style)
{
"name": "counter",
"version": "1.0.0",
"main": "src/main.js",
"type": "module",
"dependencies": {
"slint-ui": "^1.4.1"
},
"scripts": {
"start": "node ."
}
}
Beta Was this translation helpful? Give feedback.
All reactions