File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ public void widgetSelected(SelectionEvent e) {
316316 Label locationTitle = new Label (basicInfoComposite , SWT .LEFT );
317317 locationTitle .setText (LOCATION_TITLE );
318318 gd = new GridData ();
319+ gd .verticalAlignment = SWT .TOP ;
319320 locationTitle .setLayoutData (gd );
320321
321322 locationValue = new Text (basicInfoComposite , SWT .WRAP
@@ -325,6 +326,8 @@ public void widgetSelected(SelectionEvent e) {
325326 locationValue .setText (locationStr );
326327 gd = new GridData ();
327328 gd .horizontalAlignment = GridData .FILL ;
329+ gd .widthHint = convertWidthInCharsToPixels (MAX_VALUE_WIDTH );
330+ gd .grabExcessHorizontalSpace = true ;
328331 locationValue .setLayoutData (gd );
329332 locationValue .setBackground (locationValue .getDisplay ()
330333 .getSystemColor (SWT .COLOR_WIDGET_BACKGROUND ));
@@ -360,6 +363,7 @@ public void widgetSelected(SelectionEvent e) {
360363 });
361364
362365 Button pathCopy = new Button (basicInfoComposite , SWT .PUSH );
366+ pathCopy .setLayoutData (gd );
363367 pathCopy .setImage (PlatformUI .getWorkbench ().getSharedImages ().getImage (ISharedImages .IMG_TOOL_COPY ));
364368 pathCopy .setToolTipText (PATH_BUTTON_TOOLTIP );
365369 pathCopy .addSelectionListener (new SelectionAdapter () {
You can’t perform that action at this time.
0 commit comments