Re: [gtk-list] Re: that pixmap engine/GtkEntry problem again



On Tue, 25 Apr 2000, Rob Hodges wrote:

> > On Mon, 24 Apr 2000, Paul Barton-Davis wrote:
> > 
> > > Is there any chance of a fix to the problem of the pixmap engine
> > > messing up the style of a GtkEntry ? If the GtkEntry has colors set
> > > for the background, the pixmap engine just ignores them. This is
> > > incredibly annoying. Is a fix in the pipeline somewhere ?
> > 
> >   I'm setting different color of text of GtkEntry for that purpose and it
> > works fine with current implementation of GTK (and seems it will look better
> > than seting background of the entry to another color since there is a
> > probability that combination of colors you use for text foreground and
> > entry background will be ugly. May be you can use this too?
> 
> Ehm, this may be obvious, but if you set one of them you *must* set
> the other, otherwise there will always be a theme where your text ends
> up the same colour as the background.  I've seen this in at least a
> couple of apps (and ms windows suffers from it too; its dialog boxes
> always have a light grey background so colour schemes with light text
> are impossible).  

  I assume you are trying to change both background and foreground (otherwise
your note also applies to changing only background, if that was possible :).
Well, you can rely all troubles of selecting the color that looks good for 
either background or foreground on the user's shoulders - just one more 
setting in the configuration file of the program - seems this is the most 
reliable and simple way for programmer :)

> -Rob
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 

 Best regards,
  -Vlad



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]