vstgui
vstgui copied to clipboard
color None vs. transparent cross platform inconsistency
While on Mac I can set a color (for ex. back-color
or frame-color
) to None
and it will be handled like ~ TransparentCColor
, when on Linux None
will be like ~ BlackCColor
Hi @mxa , I'm unable to reproduce this issue. Can you tell me in which view class you see this? I think the default behavior is to revert back to the default of the view class and not to transparent or black.
@scheffle Do you see the inconsistencies in the grey bars in #207 ? That's a CTextLabel
.
@mxa OK I don't quite get it, #207 is about text rendering and this issue here is about color. So you have the issue with the color None with CTextLabel classes, correct?
@scheffle #207 is about the text baseline. Building the example .uidesc
to illustrate the issue, I was using CTextLabel
objects just as a vertical reference. The white outlines of the grey containers are rendered on Linux, but not on Win or Mac. The screenshots accidentally expose this bug ( #205 ) or a related one.
I think this is about the color None, it could additionally be a bug in the thickness 0 of the outline or the attribute to not show the outline. In any case something is wrong somewhere since it's platform inconsistent and while in #207 the problem seems to be on Windows, here it is on Linux.
@scheffle please elaborate what's unclear.