Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2005-06-09 10:56:49 -0400
committerMichael Valenta2005-06-09 10:56:49 -0400
commitcd243873f2152c1f450166716e143c88c2a6fbcf (patch)
tree35fbb4c5d34c716e90fc7a8e9bfaf93ba335ec70
parent7a5f7928bd8242b58ef0d9ef402aa77f58095565 (diff)
downloadeclipse.platform.team-cd243873f2152c1f450166716e143c88c2a6fbcf.tar.gz
eclipse.platform.team-cd243873f2152c1f450166716e143c88c2a6fbcf.tar.xz
eclipse.platform.team-cd243873f2152c1f450166716e143c88c2a6fbcf.zip
Bug 99111 clipped texts in Tag Resources dialog
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java
index 90804fb30..9cab40dd6 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java
@@ -61,6 +61,11 @@ public class TagRefreshButtonArea extends DialogArea {
buttonComp.setLayout(SWTUtils.createGridLayout(4, converter, SWTUtils.MARGINS_NONE));
fMessageLabel= SWTUtils.createLabel(buttonComp, null);
+ try {
+ fMessageLabel.setLayoutData(SWTUtils.createGridData(converter.convertWidthInCharsToPixels(CVSUIMessages.TagRefreshButtonArea_6.length()), SWT.DEFAULT, SWT.FILL, SWT.CENTER, true, false));
+ } catch (NullPointerException e) {
+ // The message may be missing so just continue
+ }
refreshButton = new Button(buttonComp, SWT.PUSH);
refreshButton.setText (CVSUIMessages.TagConfigurationDialog_20);

Back to the top