diff options
author | Markus Keller | 2012-01-30 14:49:58 +0000 |
---|---|---|
committer | Markus Keller | 2012-01-30 14:49:58 +0000 |
commit | 8a7a6364812e1bef3521f03df73af9aeeddaea03 (patch) | |
tree | a4c1fa6857e4f2abe45911a7aa0830430754736d | |
parent | 6d8dabf9e8f7ded21346e6ff61dba2bdd66631e1 (diff) | |
download | eclipse.platform.text-8a7a6364812e1bef3521f03df73af9aeeddaea03.tar.gz eclipse.platform.text-8a7a6364812e1bef3521f03df73af9aeeddaea03.tar.xz eclipse.platform.text-8a7a6364812e1bef3521f03df73af9aeeddaea03.zip |
fixed vertical resizingv20120130-1449
-rw-r--r-- | org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java index ec5f93549d7..c30bd390016 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2012 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 @@ -111,7 +111,7 @@ class SelectResourcesDialog extends Dialog { Composite composite= (Composite) super.createDialogArea(parent); Label label= new Label(composite, SWT.LEFT); label.setText(fInstruction); - label.setLayoutData(new GridData(GridData.FILL_BOTH)); + label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); fResourceGroup= new SelectResourcesBlock(composite, ResourcesPlugin.getWorkspace().getRoot(), getResourceProvider(IResource.FOLDER | IResource.PROJECT), WorkbenchLabelProvider.getDecoratingWorkbenchLabelProvider(), getResourceProvider(IResource.FILE), WorkbenchLabelProvider.getDecoratingWorkbenchLabelProvider(), SWT.NONE, useHeightHint(parent)); fResourceGroup.addCheckStateListener(new ICheckStateListener() { @@ -121,7 +121,7 @@ class SelectResourcesDialog extends Dialog { }); fCountIndication= new Label(composite, SWT.LEFT); - fCountIndication.setLayoutData(new GridData(GridData.FILL_BOTH)); + fCountIndication.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); createSelectionButtonGroup(composite); |