1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Fix button alignment.

Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
Greg Watson 2013-12-24 10:08:06 -05:00
parent 93ecdc6948
commit 95c1c4b853

View file

@ -154,7 +154,10 @@ public class RemoteResourceBrowserWidget extends Composite {
} }
Composite textComp = new Composite(mainComp, SWT.NONE); Composite textComp = new Composite(mainComp, SWT.NONE);
textComp.setLayout(new GridLayout(4, false)); layout = new GridLayout(4, false);
layout.marginHeight = 0;
layout.marginWidth = 0;
textComp.setLayout(layout);
textComp.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); textComp.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
Label label = new Label(textComp, SWT.NONE); Label label = new Label(textComp, SWT.NONE);