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:
parent
93ecdc6948
commit
95c1c4b853
1 changed files with 4 additions and 1 deletions
|
@ -154,7 +154,10 @@ public class RemoteResourceBrowserWidget extends Composite {
|
|||
}
|
||||
|
||||
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));
|
||||
|
||||
Label label = new Label(textComp, SWT.NONE);
|
||||
|
|
Loading…
Add table
Reference in a new issue