windows: ugly grey background/border in some widgets
windows: ugly grey background/border in some widgets
I'm not sure what causes this, maybe it has to do with the "manifest" thing? How do i remove this ugly grey border/background that randomly appears on certain container widgets?
Oh the status bar isn't a real wxStatusBar, it's just a static line with some widgets under it at the bottom of the window.Re: windows: ugly grey background/border in some widgets
That "ugly grey border/background" is the colour of the wxFrame, which I'm sure does not appear randomly, but consistently. Doesn't it?
If you don't want that, add a wxPanel as the first (and only) child of the wxFrame and add everything else as children of that panel.
If you don't want that, add a wxPanel as the first (and only) child of the wxFrame and add everything else as children of that panel.
- xaviou
- Super wx Problem Solver
- Posts: 436
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: windows: ugly grey background/border in some widgets
Hi
Regards
Xav'
Just to add that it is the default background color of a window under Windows (this is not a wxWidgets related thing).catalin wrote:That "ugly grey border/background" is the colour of the wxFrame, which I'm sure does not appear randomly, but consistently. Doesn't it?
And you can also change the background color to wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE)catalin wrote:If you don't want that, add a wxPanel as the first (and only) child of the wxFrame and add everything else as children of that panel.
Regards
Xav'
My wxWidgets stuff web page : [email protected]'s wxStuff