facebook

Button "crushed" (hardly visible) [closed]

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

    Thomas SMETS
    Member

    I believe what follows is a Javabug more than anything else … but here below is an example most button appears in my current version of MyEclipse:

    What can I do to improve this … ?

    Specs are :
    _ Linux Mandrake 10.1
    _ JVM : 1.4.2_07, build 1.4.2_07-b05, mixed mode
    _ Eclipse : 3.0.1, build : 200409161125
    _ MyEclipse 3.8.3, build id: 200412061200-3.8.3

    Tx,

    \T,

    #227493 Reply

    Greg
    Member

    The problem is your gtk version and gtk theme. Eclipse 3.0.1 and subsequently MyEclipse 3.8.3 is tested and certified on only those linux distributions that are listed on Eclipse’s officially supported list. So your gtk version is probably different than the official tested version. Another issue is likely your gtk theme and font sizes. I would try is using the default gtk2 theme when using eclipse. Many combinations of gtk themes and font sizes can have underiable effects on the workbench as your screenshot shows.

    #228431 Reply

    Thomas SMETS
    Member

    Greg,

    Could you be specific or provide a page withthe requierments as I upgraded to Mandriva 10.1 (Mandrake), and installed the latest GTK library but the buttons are still squashed.

    \T,

    #228456 Reply

    Greg
    Member

    The problem lies with non default GTK themes. Here is a comprohensive bug report for JFace.
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=68568

    The problem in a nutshell is JFace isn’t computing the right height for buttons and the default borders for buttons on many themes takes up too much space. It looks like there is a fix in the 3.1 branch but for 3.0.X there is a workaround that has been posted in this bug report.

    Pay close attention to the comments starting at Comment 22
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=68568#c22

    all the way through Comment #27. That should help you getting your gtk theme configured to show all the button text.

    #228707 Reply

    Thomas SMETS
    Member

    Correct Greg,
    #22 helped greatly

    You want to add this to your gtkrc file in the
    appropriate place:

    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”

    Still not 100 % perfect but …
    At least I can gess which one is “OK” and which one is “Cancel”… 😆
    Increasing the font also helped a bit 🙂
    \T,

    #228708 Reply

    Greg
    Member

    Thanks for posting back your results. Hopefully what you have worked out will do until Eclipse 3.1 is officially released this summer.

    #228709 Reply

    Thomas SMETS
    Member

    As a matter of fact the 3.1M6 I just installed is not fixed

    \T,

    #228719 Reply

    Greg
    Member

    You should let the Eclipse guys know that on that thread. Maybe they can get it fixed before 3.1 goes final.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Button "crushed" (hardly visible) [closed]

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