osx - How to disable white drop shadow in label? -


i have label want set foreground color. however, there white shadow/outline:

example

i've set foreground color (blue):

// gtk# in monodevelop on mac os x var fg = new gdk.color (); gdk.color.parse ("#0000ff", ref fg);  lbl.modifyfg (statetype.normal, fg); lbl.modifyfg (statetype.active, fg); lbl.modifyfg (statetype.prelight, fg); 

but can't seem find option shadow/outline.

does know setting i'm missing? (answers gtk+ in c/c++ okay, need know i'm looking for)

if using gtk+3 (as should) can disable text shadows on every gtklabel using following css fragment:

gtklabel {     text-shadow: none; } 

that css can put in main gtk+3 file (usually $xdg_config_home/gtk-3.0/gtk.css) affect applications or can dynamically loaded application using along lines of following (untested) c code:

const gchar *css = "...your custom css here..."; gtkcssprovider *provider = gtk_css_provider_new(); if (gtk_css_provider_load_from_data(provider, css, -1, null)) {     gdkscreen *screen = gdk_screen_get_default();     gtk_style_context_add_provider_for_screen(screen, provider,                                               gtk_style_provider_priority_user); } g_object_unref(provider); 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -