|
From: Jeff H. <je...@ac...> - 2004-10-09 02:21:05
|
Joe English wrote: > Notebook widgets still don't look quite right under > Windows XP -- more precisely, the stuff inside a notebook > doesn't look quite right. The pane should have a subtle > gradient, from white at the top to a very light gray at the > bottom. The Tile notebook can draw this part, but widgets > like checkbuttons, radiobuttons, and labelframes, inside a > notebook pane are still drawn with the standard background. With Joe's assistance on some magic styling for the frames, I was able to get the single frame that I use as the notebook pane container to adopt the gradient. Attached is a pic showing this. This is fine in general - but I have issues where the guys here complained because on another pane we make use of a panedwindow. That uses the standard bg, which is subtle but visible against the gradient bg. > I'm still not entirely sure how to solve this, but it's > pretty clear that the theme engine will need to treat > background elements differently from other elements. > Background elements are already something of a special case: > every layout has to include one, and it has to be the first > element drawn. (This is only mentioned in a comment buried > in the middle of the source code...) I wonder what effect named colors will have on this as well? > Then if someone can figure out exactly how > DrawThemeParentBackground() is supposed to work in XP, maybe > we can get notebooks to look right too... I did send that patch that I tried before regarding the use of DTPB(). It didn't really work, or rather have visible effect (it compiled and ran just fine) ... :( Jeff |