Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dykstal2008-05-14 18:41:57 +0000
committerDavid Dykstal2008-05-14 18:41:57 +0000
commit5e8c5aa0c3874c64e7237dc8dc05cb884c0d2d86 (patch)
tree507e5058dcd53e80f3b406265295fcd703fe5243
parent6a1daa7b93fc7db75fdfbead6bfe541054369d09 (diff)
downloadorg.eclipse.tm-5e8c5aa0c3874c64e7237dc8dc05cb884c0d2d86.tar.gz
org.eclipse.tm-5e8c5aa0c3874c64e7237dc8dc05cb884c0d2d86.tar.xz
org.eclipse.tm-5e8c5aa0c3874c64e7237dc8dc05cb884c0d2d86.zip
[230815] [dstore][security][nls] Layout problems on Add Certificate dialog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=230815
-rw-r--r--rse/plugins/org.eclipse.rse.dstore.security/src/org/eclipse/rse/internal/dstore/security/widgets/CertificateForm.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/rse/plugins/org.eclipse.rse.dstore.security/src/org/eclipse/rse/internal/dstore/security/widgets/CertificateForm.java b/rse/plugins/org.eclipse.rse.dstore.security/src/org/eclipse/rse/internal/dstore/security/widgets/CertificateForm.java
index fa112d7c9..d97bd6108 100644
--- a/rse/plugins/org.eclipse.rse.dstore.security/src/org/eclipse/rse/internal/dstore/security/widgets/CertificateForm.java
+++ b/rse/plugins/org.eclipse.rse.dstore.security/src/org/eclipse/rse/internal/dstore/security/widgets/CertificateForm.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation and others.
+ * Copyright (c) 2006, 2008 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
@@ -12,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
*
* Contributors:
- * {Name} (company) - description of contribution.
+ * David Dykstal (IBM) - [230815] fix layout problems with long labels
*******************************************************************************/
@@ -76,7 +76,6 @@ public class CertificateForm extends SystemBaseForm
GridLayout layout = new GridLayout();
layout.numColumns = 3;
data = GridUtil.createFill();
- data.widthHint = 400;
nameGroup.setLayoutData(data);
nameGroup.setLayout(layout);
@@ -84,6 +83,7 @@ public class CertificateForm extends SystemBaseForm
lblPath.setText(UniversalSecurityPlugin.getString(UniversalSecurityProperties.RESID_SECURITY_CERTIFICATE_FILE));
_pathField = new Text(nameGroup, SWT.BORDER);
_pathField.setLayoutData(GridUtil.createHorizontalFill());
+ ((GridData)_pathField.getLayoutData()).widthHint = 150;
_pathField.setText(""); //$NON-NLS-1$
_browseButton = new Button(nameGroup, SWT.PUSH);

Back to the top