diff options
author | Michael Valenta | 2007-05-07 18:34:07 +0000 |
---|---|---|
committer | Michael Valenta | 2007-05-07 18:34:07 +0000 |
commit | 4cc4903bb42165e321cf74531037d3cff94bc417 (patch) | |
tree | 958d0024bb2f9fa6e7bff2af1c5ce5691e0af29d /bundles/org.eclipse.team.cvs.ui | |
parent | cd5c7eb531a435647aadbafa55ca4b31565af91c (diff) | |
download | eclipse.platform.team-4cc4903bb42165e321cf74531037d3cff94bc417.tar.gz eclipse.platform.team-4cc4903bb42165e321cf74531037d3cff94bc417.tar.xz eclipse.platform.team-4cc4903bb42165e321cf74531037d3cff94bc417.zip |
Bug 184660 [Operations] Compare With Branch Or Version Dialog Truncates Long Version Tags
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui')
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagSelectionArea.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagSelectionArea.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagSelectionArea.java index a488c0320..7db11ca01 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagSelectionArea.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagSelectionArea.java @@ -52,6 +52,11 @@ public class TagSelectionArea extends DialogArea { private static int ICON_WIDTH = 40; /* + * Please see bug 184660 + */ + private static final int SAFETY_MARGIN = 50; + + /* * Property constant which identifies the selected tag or * null if no tag is selected */ @@ -222,7 +227,7 @@ public class TagSelectionArea extends DialogArea { tagTable.refresh(); int maxWidth = getMaxWidth(list.getChildren(null)); if (maxWidth > 0) { - maxWidth = maxWidth + ICON_WIDTH + COLUMN_TRIM; /* space for the tag icon */ + maxWidth = maxWidth + ICON_WIDTH + COLUMN_TRIM + SAFETY_MARGIN; /* space for the tag icon */ tagTable.getTable().getColumn(0).setWidth(maxWidth); } if (filterText == null || filter == null || filter.length() == 0) { |