Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2013-07-11 14:53:55 +0000
committerMarkus Keller2013-07-11 14:53:55 +0000
commit74d3083d8b588e19d7f3591440137762008d2487 (patch)
treeb877b644dfea3e18d152e2808ef1dcef9f16c546
parent409462bc339e971281fd3d01a36a02a1295c348b (diff)
downloadeclipse.jdt.ui-74d3083d8b588e19d7f3591440137762008d2487.tar.gz
eclipse.jdt.ui-74d3083d8b588e19d7f3591440137762008d2487.tar.xz
eclipse.jdt.ui-74d3083d8b588e19d7f3591440137762008d2487.zip
Bug 393602: Problem hover - Link text cut at end for some OSes / fonts
Comment 15: workaround for bug on GTK
-rw-r--r--org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java
index 924eb58210..67ab713752 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AbstractAnnotationHover.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -491,7 +491,7 @@ public abstract class AbstractAnnotationHover extends AbstractJavaEditorTextHove
}
Link proposalLink= new Link(parent, SWT.NONE);
- GridData layoutData= new GridData(SWT.BEGINNING, SWT.CENTER, false, false);
+ GridData layoutData= new GridData(SWT.FILL, SWT.CENTER, true, false);
String linkText;
if (isMultiFix) {
linkText= Messages.format(JavaHoverMessages.AbstractAnnotationHover_multifix_variable_description, new Integer(count));

Back to the top