1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 103522: Launcher: Stop at main checkbox is covered with default launch dialog size. Moved the "Stop in main" and "Advanced" buttons on the line below.

This commit is contained in:
Mikhail Khodjaiants 2005-07-12 19:24:25 +00:00
parent 415109ff2f
commit 659a9aa535
2 changed files with 14 additions and 11 deletions

View file

@ -1,3 +1,8 @@
2005-07-12 Mikhail Khodjaiants
Bug 103522: Launcher: Stop at main checkbox is covered with default launch dialog size.
Moved the "Stop in main" and "Advanced" buttons on the line below.
* CDebuggerTab.java
2005-06-28 Mikhail Khodjaiants
Bug 89276: Typo in org.eclipse.cdt.launch/plugin.xml.
* plugin.xml

View file

@ -137,12 +137,10 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
ICDTLaunchHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_DEBBUGER_TAB);
GridLayout layout = new GridLayout(2, true);
comp.setLayout(layout);
GridData gd = new GridData();
gd.horizontalAlignment = GridData.FILL_HORIZONTAL;
gd.grabExcessHorizontalSpace = true;
GridData gd = new GridData( GridData.BEGINNING, GridData.CENTER, true, false );
comp.setLayoutData(gd);
createDebuggerCombo(comp, 1);
createDebuggerCombo( comp, ( fAttachMode ) ? 1 : 2 );
createOptionsComposite(comp);
createDebuggerGroup(comp, 2);
}
@ -331,14 +329,14 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
Composite optionsComp = new Composite(parent, SWT.NONE);
if (fAttachMode == true) {
GridLayout layout = new GridLayout(1, false);
optionsComp.setLayout(layout);
optionsComp.setLayoutData(new GridData(GridData.END, GridData.CENTER, true, false, 1, 1));
GridLayout layout = new GridLayout( 1, false );
optionsComp.setLayout( layout );
optionsComp.setLayoutData( new GridData( GridData.BEGINNING, GridData.CENTER, true, false, 1, 1 ) );
} else {
GridLayout layout = new GridLayout(2, false);
optionsComp.setLayout(layout);
optionsComp.setLayoutData(new GridData(GridData.END, GridData.CENTER, true, false, 1, 1));
fStopInMain = createCheckButton(optionsComp, LaunchMessages.getString("CDebuggerTab.Stop_at_main_on_startup")); //$NON-NLS-1$
GridLayout layout = new GridLayout( 2, false );
optionsComp.setLayout( layout );
optionsComp.setLayoutData( new GridData( GridData.BEGINNING, GridData.CENTER, true, false, 2, 1 ) );
fStopInMain = createCheckButton( optionsComp, LaunchMessages.getString( "CDebuggerTab.Stop_at_main_on_startup" ) ); //$NON-NLS-1$
GridData data = new GridData();
data.horizontalAlignment = GridData.BEGINNING;
fStopInMain.setLayoutData(data);