Background bleed-through?

Robin,

I've noticed something that I hadn't noticed earlier (at first I thought I
had done something wrong...)

The color *behind* buttons is leaking through to the button faces. I first
noticed this in the sizer demo, but I thought it was possibly because there
wasn't a panel attached there. However, the LayoutConstraints demo uses
panels for all the demo stuff, and in all cases the buttons are showing up
as the color behind them. There are a few other places, too, such as the
widget test in wxHtmlWindow.

I don't know if this is a 'new feature' that requires a style flag to
overcome, but if so I'd just like to pitch in my two cents and request that
that flag be turned 'on' by default, please :slight_smile:

Jeff Grimmett wrote:

Robin,

I've noticed something that I hadn't noticed earlier (at first I thought I
had done something wrong...)

The color *behind* buttons is leaking through to the button faces. I first
noticed this in the sizer demo, but I thought it was possibly because there
wasn't a panel attached there. However, the LayoutConstraints demo uses
panels for all the demo stuff, and in all cases the buttons are showing up
as the color behind them. There are a few other places, too, such as the
widget test in wxHtmlWindow.

I don't know if this is a 'new feature'

Yep. Most controls now inherit their parent's colours.

that requires a style flag to
overcome, but if so I'd just like to pitch in my two cents and request that
that flag be turned 'on' by default, please :slight_smile:

I wish. It can't be disabled at all currently.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

From: Robin Dunn [mailto:robin@alldunn.com]

> The color *behind* buttons is leaking through to the button
faces. I first

> I don't know if this is a 'new feature'

Yep. Most controls now inherit their parent's colours.

Makes a little sense ...

> that requires a style flag to
> overcome, but if so I'd just like to pitch in my two cents and
request that
> that flag be turned 'on' by default, please :slight_smile:

I wish. It can't be disabled at all currently.

Ick.

I say "ick" because, while the colors coming through is somewhat acceptable,
the highlight colors are the same as they would be for the default color
buttons -- i.e. darker gray and lighter gray and black. On a red button, or
a blue button, this 3D effects are pretty aweful.

Well, there's another one for the release notes...

Anyway ...

Should I go back through the demos and force the buttons to the system
default color?

Jeff Grimmett wrote:

Anyway ...

Should I go back through the demos and force the buttons to the system
default color?

Not yet. I'm still hopeful that it can be changed back, or at least implement a compromise somehow.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

> Should I go back through the demos and force the buttons to the system
> default color?

Not yet. I'm still hopeful that it can be changed back, or at least
implement a compromise somehow.

That would be *very* nice :slight_smile: