facebook

Button text is chopped off. (image url included)

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #218080 Reply

    Hello 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.2

    The 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

    #218081 Reply

    Greg
    Member

    Are 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

    #218084 Reply

    I 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

    #218086 Reply

    Greg
    Member

    Russ,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Button text is chopped off. (image url included)

You must be logged in to post in the forum log in