Hi, I have a problem with Ignition Vision Designer (8.1.32).
I cannot match the background colour of container objects, despite them having the same properties (tried RGB, HSL, hex etc).
I started development of this app in a previous version, and recall the container object had an "opaque" property? This is no longer available, and think this is causing the problem. With reference to the attached picture both red-circled containers should have the same appearance.
Any suggestions?
Can you share the window? Not seeing it on my own installation.
I was actually thinking more of an export of the window. 
That way we can take a close look at your issue.
Ignition_Container_Issue_11012024.zip (44.0 KB)
Jordan, export of picture attached. The container in the bottom right of the page should have the same appearance as the one to its left....
1 Like
Ok, for whatever reason, the alpha on the left container, although it says 255, is actually zero (I imagine that opaque was turned off in the previous version).
If I drag the Alpha in the color picker the color resumes normally.
So, to make it transparent, set the alpha of the color to zero.
Hi Jordan
Yes - I'd tried and established that fix. However, when you adjust the alpha - the border disappears, which is not right. (I'm using bevel/lowered style). At what point was the opacity property removed from containers, as I believe this is the issue?
The look and feel was updated in v8.0 to support newer Java versions, so I'm guessing it happened then.
In that case, I recommend binding it to the background color of the root container. This will keep your border, and match colors.

EDIT: I seem to remember where the opaque setting on some Swing components did not work as advertised. I can't find where I had read that, but that may also have played into the look and feel update.
2 Likes