- This topic has 7 replies, 2 voices, and was last updated 20 years, 2 months ago by
Greg.
-
AuthorPosts
-
Thomas SMETSMemberI 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.3Tx,
\T,
April 1, 2005 at 10:33 am #227493
GregMemberThe 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.
April 20, 2005 at 5:59 pm #228431
Thomas SMETSMemberGreg,
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,
April 21, 2005 at 1:14 am #228456
GregMemberThe problem lies with non default GTK themes. Here is a comprohensive bug report for JFace.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=68568The 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#c22all the way through Comment #27. That should help you getting your gtk theme configured to show all the button text.
April 25, 2005 at 4:48 pm #228707
Thomas SMETSMemberCorrect Greg,
#22 helped greatlyYou 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,April 25, 2005 at 5:18 pm #228708
GregMemberThanks for posting back your results. Hopefully what you have worked out will do until Eclipse 3.1 is officially released this summer.
April 25, 2005 at 5:43 pm #228709
Thomas SMETSMemberAs a matter of fact the 3.1M6 I just installed is not fixed
\T,
April 26, 2005 at 12:57 am #228719
GregMemberYou should let the Eclipse guys know that on that thread. Maybe they can get it fixed before 3.1 goes final.
-
AuthorPosts