EDIT: Never mind, what I describe below is working, just at run-time only and not in the dev view when not running. A different approach I tried (Style tags) worked in Dev mode, but applied to everthing and that threw me off.
Original Post:
I am trying to set the background colors on some string controls and numeric controls (within a cluster) to indicate to the user they are indicators rather than controls (even though they are controls as LabVIEW defines them since the cluster itself is a control).
I tried using an approach similar to that described in: Solved: Display Custom Font in WebVI(G WEB DEVELOPMENT SOFTWARE) Without Internet Access - NI Commun...
I added
<link href="MVP-5.css" rel="stylesheet" type="text/css" charset="utf-8">
to the head section of my HTML source for my top level GVI.
I added a file called mvp-5.css to the WebbApp.gcomp directory in which my main file (index.gviweb) is located.
I added mvp-5.css to the WebApp.gcomp container in project files.
The mvp-5.css file has
.mvp-background {
--ni-control-background-color: Cyan;
}
And I set the Visual Style of several controls to mvp-background.
What am I doing wrong?
LabVIEW Champion, CLA, CPI