Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2005-02-23 21:33:26 +0000
committerMichael Valenta2005-02-23 21:33:26 +0000
commit984f8d6f02a43a380ec972776939c22067d18284 (patch)
tree4a2a1f9a4a36f18bb971e01d9c7fc4e40473131c
parentd76640ec9f86e465f08b2555860a419fd7af79bf (diff)
downloadeclipse.platform.team-984f8d6f02a43a380ec972776939c22067d18284.tar.gz
eclipse.platform.team-984f8d6f02a43a380ec972776939c22067d18284.tar.xz
eclipse.platform.team-984f8d6f02a43a380ec972776939c22067d18284.zip
Bug 85451 Password management table opens with a scrollbar
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/PasswordManagementPreferencePage.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/PasswordManagementPreferencePage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/PasswordManagementPreferencePage.java
index 361c8da66..e6c3dd6de 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/PasswordManagementPreferencePage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/PasswordManagementPreferencePage.java
@@ -78,14 +78,6 @@ public class PasswordManagementPreferencePage extends PreferencePage implements
table.setHeaderVisible(true);
table.setLinesVisible(true);
GridData gd = new GridData(GridData.FILL_BOTH);
- gd.widthHint = convertWidthInCharsToPixels(30);
- /*
- * The hardcoded hint does not look elegant, but in reality
- * it does not make anything bound to this 100-pixel value,
- * because in any case the tree on the left is taller and
- * that's what really determines the height.
- */
- gd.heightHint = 100;
table.setLayoutData(gd);
table.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
@@ -118,8 +110,8 @@ public class PasswordManagementPreferencePage extends PreferencePage implements
}
});
TableLayout tl = new TableLayout();
- tl.addColumnData(new ColumnWeightData(15));
- tl.addColumnData(new ColumnWeightData(1, 100));
+ tl.addColumnData(new ColumnWeightData(70, 100));
+ tl.addColumnData(new ColumnWeightData(30));
table.setLayout(tl);
Composite buttons = new Composite(parent, SWT.NULL);

Back to the top