mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
fix for the bug# 105237
This commit is contained in:
parent
8486bfb1c4
commit
b6ca08ef01
1 changed files with 5 additions and 2 deletions
|
@ -195,7 +195,7 @@ public class NewEnvVarDialog extends StatusDialog {
|
||||||
fOpSelector = new Combo(comp, SWT.READ_ONLY|SWT.DROP_DOWN);
|
fOpSelector = new Combo(comp, SWT.READ_ONLY|SWT.DROP_DOWN);
|
||||||
gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
|
gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
|
||||||
gd.horizontalSpan = 1;
|
gd.horizontalSpan = 1;
|
||||||
gd.widthHint = 70;
|
// gd.widthHint = 70;
|
||||||
fOpSelector.setLayoutData(gd);
|
fOpSelector.setLayoutData(gd);
|
||||||
fOpSelector.setItems(new String[]{
|
fOpSelector.setItems(new String[]{
|
||||||
ManagedBuilderUIMessages.getResourceString(OPERATION_REPLACE),
|
ManagedBuilderUIMessages.getResourceString(OPERATION_REPLACE),
|
||||||
|
@ -215,7 +215,8 @@ public class NewEnvVarDialog extends StatusDialog {
|
||||||
fOpVarValueLabel.setFont(comp.getFont());
|
fOpVarValueLabel.setFont(comp.getFont());
|
||||||
gd = new GridData();
|
gd = new GridData();
|
||||||
gd.horizontalSpan = 1;
|
gd.horizontalSpan = 1;
|
||||||
gd.widthHint = 100;
|
// gd.widthHint = 100;
|
||||||
|
fOpVarValueLabel.setText(ManagedBuilderUIMessages.getResourceString(VALUE_PREPEND));
|
||||||
fOpVarValueLabel.setLayoutData(gd);
|
fOpVarValueLabel.setLayoutData(gd);
|
||||||
fOpVarValueEdit = new Text(comp, SWT.SINGLE | SWT.BORDER);
|
fOpVarValueEdit = new Text(comp, SWT.SINGLE | SWT.BORDER);
|
||||||
fOpVarValueEdit.setFont(comp.getFont());
|
fOpVarValueEdit.setFont(comp.getFont());
|
||||||
|
@ -536,6 +537,8 @@ public class NewEnvVarDialog extends StatusDialog {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fOpVarValueLabel.getParent().layout(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String recalculateValueString(){
|
private String recalculateValueString(){
|
||||||
|
|
Loading…
Add table
Reference in a new issue