Re: How to change the background color of the radiobox group control to match the color of its window

M A <[email protected]> Sun, 25 Aug 2019 14:10:39 -0400
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
> On Aug 25, 2019, at 1:59 PM, Dietmar Schwertberger <[email protected]> wrote:
> 
> On 25.08.2019 19:18, M A wrote:
>> What I am trying to do is have a RadioBox that has the same background color as the window it is in. The background color of the window it is in has a RGB value of 236,236,236. When I go to the RadioBox's background properties and set the RGB values to 236, the color changes to a slightly different color than what I wanted. Using the Digital Color Meter application I was able to see its color value as 230,230,230. Is there a way to make the background color of the RadioBox completely transparent so it becomes the color of its parent widget?
> I would expect that setting to NullColour would work. That's probably identical to not setting it at all.
> 
> Gruß,
> 
> Dietmar Schwertberger
> 

I had saved and close a wxg file with the background color of the RadioBox set to System Color wxSYS_COLOUR_BACKGROUND. When I opened the wxg file and double-clicked on the frame in the tree, I saw many of these messages in the terminal: 02:01:21 PM: Debug: wxColour::Set - couldn't set to colour string 'wxSYS_COLOUR_BACKGROUND'. I think this is a bug.

I did try NullColour. It still sets the background color to a color that is slightly different from the background color of the window.

Thank you.

_______________________________________________
wxGlade-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxglade-general