Andy Piper <andyp(a)parallax.co.uk> writes:
At 09:27 AM 6/14/98 -0500, William M. Perry wrote:
> I expect them to be the same color as the toolbar, which by default is
>#ce72ce72ce72 on my box. Changing my default face or the face of the
>modeline should have no effect on them.
????? You don't set the toolbar values where does #ce72ce72ce72 come from?
Just so we are clear - I agree with you (I think) but I have not been
allowed to set gui-element face. Or is #ce72ce72ce72 your bg color? If so
then I removed too much code.
>> i) I am happy to set the toolbar face background to gray80 in the X domain,
>> but this is precisely the change that everyone has got so heated about over
>> the modeline.
>
> Why can't it just pick it up from the app defaults database like
>everything else, and the appropriate thing under windows? We should be
>able to fallback to whatever the 'color theme' for toolbars is under
>windows.
Under X the toolbar does pick up the app-defaults database. Under windows
I agree this would be Nirvana, but we are nowhere near that.
I'm not 100% sure where the toolbar is picking up its background color -
no resources appear to be set for it in Emacs.ad (the one I was thinking of
is actually commented out):
!*backgroundToolBarColor: Gray80
I don't want to dick around with setting this, because then if they ever
changed, the menubar and toolbar would start looking different.
> I think we should find another way. Face settings come too
late to
>affect the toolbar very well.
Why? It affected your toolbar ;)
No it didn't. :) My instructions were for _after_ XEmacs was running.
And it doesn't affect the buttons that were created with the old face.
Which was why I had to switch to (un)captioned buttons before it looked
decent.
The supposed way to change faces is with customize, and someone reported
that the customization stuff was (apparently) loaded after the toolbar
buttons were instantiated, so they still had the white background. :)
-Bill P.