- This topic has 3 replies, 2 voices, and was last updated 20 years, 1 month ago by Greg.
-
AuthorPosts
-
Russell PitreMemberHello All-
This is probably more of an eclipse question but i thought i would run it by here first.
System:
Mandrake Linux 10.1
Java SDK 1.4.2_06
Eclipse GTK 3.01
MyEclipse 3.8.2The button text inside of any dialog box within eclipse is chopped off. I can only see half of the text. I can still work because i’m familiar with eclipse. But its a little annoying. Does anyone know of a fix for this?
Here’s a picture so you can for yourself.
Thanx-
Russ
GregMemberAre you using the default GTK2 theme or other? I would imagine that the Eclipse SWT QA team has to concentrate their QA efforts on just the default GTK2 theme because of the sheer number of GTK2 themes out there. Unfortunately, that means if you use another GTK2 theme, it may not work. The SWT FAQ should provide some help on how to modify the fonts and colors for eclipse when using GTK.
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/faq.html
Specifically, you can look at the question:
On gtk, how do I change the default fonts and colors of widgets?
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/faq.html#gtkfontsandcolors
Russell PitreMemberI took a look at the second link you posted. I could not find this file in my home directory:
GTK uses a file called .gtkrc which is located in your home directory. On some versions of linux, this file is called .gtkrc-2.0.
I’m using KDE 3.2…..I logged in with the gnome front end and the buttons were fine. Also, i don’t have GTK2 theme installed. So i can’t switch to that theme. Maybe i can download the theme from somewhere.
Thanx-
Russ
GregMemberRuss,
You should be able to create a file called .gtkrc-2.0 in your home directory. That worked for me, but I use gnome 2.6. You could look in the directory /usr/share/themes for examples on how to style the button widget.
-
AuthorPosts