12.27.2004

eclipse - 在linux下button字型的問題

我的電腦用mandrake10.1,gtk2.4,eclipse3.0.1
eclispe的在button上的字會有一部份消失
找了好久終於找到了... 見這兒
主要內容為:
ps:文章中說改$HOME/.kde/share/config/gtkrc,這樣比較不好
因為kde會自動改這個file,所以還改 $HOME/.gtkrc2.0 比較好

If you apply the following fix, the buttons will be readable: (see also
bugreport https://bugs.eclipse.org/bugs/show_bug.cgi?id=68568 )

Just add the following lines of text to a file listed in
ENV variable GTK2_RC_FILES, e.g.
to file $HOME/.kde/share/config/gtkrc :

############################################
style "eclipse-button" {
GtkButton::default_border = {0,0,0,0}
GtkButton::default_outside_border = {0,0,0,0}
}
class "*Button*" style : highest "eclipse-button"
widget_class "*Button*" style : highest "eclipse-button"

#############################################

Start Eclipse and the buttons will be readable :-)

沒有留言: