style class not working completely

i have a style setup, and something like this inside:

label
{
background-color: #c0c0c0;
font-family: “ArialMT”;
font: 10pt;
text-align: center;
}

label.heading
{
background-color: #00ff00;
font-family: “ArialMT”;
font: 18pt;
text-align: left;
}

then i go to designer, click on a label, and type ‘heading’ into it’s
StyleClass property. the label becomes left justified, as i want it
to, but neither the color or the font take effect.

am i doing something wrong?

Labels have transparency turned on per default. In the design view click on the label and turn ‘transparent’ off and see what happens.

I have found that Servoy’s style sheets are incomplete. A lot of the properties (documented) do not work.

You can see from this thread: