mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
[188159] corrected some layout problems
This commit is contained in:
parent
73ec321c8c
commit
2bac427bcd
1 changed files with 5 additions and 8 deletions
|
@ -297,21 +297,18 @@ public class SystemUploadConflictAction extends SystemBaseAction implements Runn
|
||||||
GridLayout mlayout = new GridLayout();
|
GridLayout mlayout = new GridLayout();
|
||||||
mlayout.numColumns = 2;
|
mlayout.numColumns = 2;
|
||||||
m.setLayout(mlayout);
|
m.setLayout(mlayout);
|
||||||
m.setLayoutData(new GridData(GridData.FILL_BOTH));
|
m.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false));
|
||||||
|
|
||||||
Label label = new Label(m, 0);
|
Label label = new Label(m, SWT.NONE);
|
||||||
image.setBackground(label.getBackground());
|
image.setBackground(label.getBackground());
|
||||||
label.setImage(image);
|
label.setImage(image);
|
||||||
label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_CENTER | GridData.VERTICAL_ALIGN_BEGINNING));
|
label.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false));
|
||||||
|
|
||||||
Text text = new Text(m, SWT.WRAP | SWT.MULTI);
|
Text text = new Text(m, SWT.WRAP | SWT.MULTI);
|
||||||
text.setEditable(false);
|
text.setEditable(false);
|
||||||
text.setText(FileResources.RESID_CONFLICT_SAVE_MESSAGE);
|
text.setText(FileResources.RESID_CONFLICT_SAVE_MESSAGE);
|
||||||
|
GridData textData = new GridData(SWT.FILL, SWT.CENTER, true, false);
|
||||||
GridData textData = new GridData(GridData.FILL_BOTH);
|
text.setLayoutData(textData);
|
||||||
textData.widthHint = 100;
|
|
||||||
textData.horizontalSpan = 2;
|
|
||||||
textData.verticalSpan = 5;
|
|
||||||
|
|
||||||
Composite options = new Composite(c, SWT.NONE);
|
Composite options = new Composite(c, SWT.NONE);
|
||||||
GridLayout olayout = new GridLayout();
|
GridLayout olayout = new GridLayout();
|
||||||
|
|
Loading…
Add table
Reference in a new issue