mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixed the bug related to the preferences dialog resizing when the build preference page is displayed
This commit is contained in:
parent
ab117ca51d
commit
9f57f32a20
2 changed files with 2 additions and 0 deletions
|
@ -994,6 +994,7 @@ public class EnvironmentBlock extends AbstractCOptionPage {
|
|||
table.setLayout(tableLayout);
|
||||
table.setHeaderVisible(true);
|
||||
GridData gd = new GridData(GridData.FILL_BOTH);
|
||||
gd.heightHint = 50;
|
||||
tableViewer.getControl().setLayoutData(gd);
|
||||
tableViewer.setContentProvider(new EnvironmentContentProvider());
|
||||
tableViewer.setLabelProvider(new EnvironmentLabelProvider(editable));
|
||||
|
|
|
@ -1079,6 +1079,7 @@ public class MacrosBlock extends AbstractCOptionPage {
|
|||
table.setLayout(tableLayout);
|
||||
table.setHeaderVisible(true);
|
||||
GridData gd = new GridData(GridData.FILL_BOTH);
|
||||
gd.heightHint = 50;
|
||||
tableViewer.getControl().setLayoutData(gd);
|
||||
tableViewer.setContentProvider(new MacroContentProvider());
|
||||
tableViewer.setLabelProvider(new MacroLabelProvider(editable));
|
||||
|
|
Loading…
Add table
Reference in a new issue