GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Sep 16, 2014 9:26 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GtkMenu / GtkCombobox illegible PRELIGHT text. Theme issue
PostPosted: Thu Jan 19, 2012 9:34 pm 
Offline
Familiar Face

Joined: Tue Dec 20, 2011 7:03 pm
Posts: 6
I have a GtkCombobox dropdown. Works fine under Linux but under
Windows looks like the following image:

Image

Looks like the PRELIGHT-ed bg and text are both white.
Have the same white-out in the menu.

In the Windows gtkrc I've tried every possible combination with
NORMAL, ACTIVE, PRELIGHT for bg[], fg[], base[] and text[] with darker colors to
no avail. It is reading the gtkrc file.

I'm using the most recent Gtk+ Windows download with style "msw-default".

Wondering if anyone knew the fix for this under Gtk running under windows?


Top
 Profile  
 
 Post subject: Re: GtkMenu / GtkCombobox illegible PRELIGHT text. Theme iss
PostPosted: Fri Jan 20, 2012 6:34 pm 
Offline
Familiar Face

Joined: Tue Dec 20, 2011 7:03 pm
Posts: 6
To fix this I had to remove the
class "Gtk*" style "msw-default"

in the gtkrc and replace with something like the folllowing
I enabled all the classes in the project on a individual basis and commented out the
specific Gtk classes which were having theme issues...

#class "GtkMenu" style "msw-default"
#class "GtkMenuItem" style "msw-default"
#class "GtkArrow" style "msw-default"

class "GtkButton" style "msw-default"
class "GtkMenuBar" style "msw-default"
class "GtkScale" style "msw-default"
class "GtkCombobox" style "msw-default"
class "GtkRange" style "msw-default"
class "GtkFrame" style "msw-default"
class "GtkSeparator" style "msw-default"
...
and a lot more classes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group