mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
fixed dynamic debugger area not showing
This commit is contained in:
parent
7fed901ae5
commit
040b0517dc
1 changed files with 2 additions and 4 deletions
|
@ -66,17 +66,15 @@ public class CDebuggerTab extends CLaunchConfigurationTab {
|
||||||
gd.horizontalAlignment = GridData.HORIZONTAL_ALIGN_END;
|
gd.horizontalAlignment = GridData.HORIZONTAL_ALIGN_END;
|
||||||
stopInMain.setLayoutData(gd);
|
stopInMain.setLayoutData(gd);
|
||||||
Group debuggerGroup = new Group(comp, SWT.SHADOW_ETCHED_IN);
|
Group debuggerGroup = new Group(comp, SWT.SHADOW_ETCHED_IN);
|
||||||
gd = new GridData(GridData.FILL_BOTH);
|
|
||||||
gd.horizontalSpan = 3;
|
|
||||||
debuggerGroup.setLayoutData(gd);
|
|
||||||
debuggerGroup.setText("Debugger Options");
|
debuggerGroup.setText("Debugger Options");
|
||||||
setDynamicTabHolder(new Composite(debuggerGroup, SWT.NONE));
|
setDynamicTabHolder(debuggerGroup);
|
||||||
GridLayout tabHolderLayout = new GridLayout();
|
GridLayout tabHolderLayout = new GridLayout();
|
||||||
tabHolderLayout.marginHeight= 0;
|
tabHolderLayout.marginHeight= 0;
|
||||||
tabHolderLayout.marginWidth= 0;
|
tabHolderLayout.marginWidth= 0;
|
||||||
tabHolderLayout.numColumns = 1;
|
tabHolderLayout.numColumns = 1;
|
||||||
getDynamicTabHolder().setLayout(tabHolderLayout);
|
getDynamicTabHolder().setLayout(tabHolderLayout);
|
||||||
gd = new GridData(GridData.FILL_BOTH);
|
gd = new GridData(GridData.FILL_BOTH);
|
||||||
|
gd.horizontalSpan = 3;
|
||||||
getDynamicTabHolder().setLayoutData(gd);
|
getDynamicTabHolder().setLayoutData(gd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue