| Author |
Message |
|
|
Post subject: Button "crushed" (hardly visible) [closed]
Posted: Mar 31, 2005 - 10:27 PM
|
|
Registered Member


Joined: May 27, 2004
Posts: 53
|
|
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, |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 01, 2005 - 04:33 PM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1612
|
|
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. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Button "crushed" (hardly visisble) ...
Posted: Apr 20, 2005 - 11:59 PM
|
|
Registered Member


Joined: May 27, 2004
Posts: 53
|
|
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, |
_________________ Thomas SMETS
Brussels, Belgium
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 21, 2005 - 07:14 AM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1612
|
|
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. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Button "crushed" (hardly visisble) ...
Posted: Apr 25, 2005 - 10:48 PM
|
|
Registered Member


Joined: May 27, 2004
Posts: 53
|
|
Correct Greg,
#22 helped greatly
| Quote: | 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"... :lol:
Increasing the font also helped a bit :)
\T, |
_________________ Thomas SMETS
Brussels, Belgium
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 25, 2005 - 11:18 PM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1612
|
|
Thanks for posting back your results. Hopefully what you have worked out will do until Eclipse 3.1 is officially released this summer. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Button "crushed" (hardly visible)
Posted: Apr 25, 2005 - 11:43 PM
|
|
Registered Member


Joined: May 27, 2004
Posts: 53
|
|
As a matter of fact the 3.1M6 I just installed is not fixed
\T, |
_________________ Thomas SMETS
Brussels, Belgium
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 26, 2005 - 06:57 AM
|
|
Moderator


Joined: Mar 31, 2004
Posts: 1612
|
|
You should let the Eclipse guys know that on that thread. Maybe they can get it fixed before 3.1 goes final. |
_________________ Greg
MyEclipse Support
|
| |
|
|
|
 |
|
|