Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2005-07-12 19:07:29 +0000
committerMikhail Khodjaiants2005-07-12 19:07:29 +0000
commitc990898c9705e271c8ada0e9ac20ed4ac82d83f2 (patch)
treea8d213522e4c5864e286e0c1894fdeff42f98f7f
parenta038681ea1961bfb7a0ad63c5225b21d1a69c25a (diff)
downloadorg.eclipse.cdt-c990898c9705e271c8ada0e9ac20ed4ac82d83f2.tar.gz
org.eclipse.cdt-c990898c9705e271c8ada0e9ac20ed4ac82d83f2.tar.xz
org.eclipse.cdt-c990898c9705e271c8ada0e9ac20ed4ac82d83f2.zip
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.
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog5
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java10
2 files changed, 9 insertions, 6 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index 6b1e902bc80..5d8b9532f46 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -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-02-24 Alain Magloire
Fix for PR 86443
* src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
index 59630a62bac..3f9994d890b 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
@@ -126,12 +126,10 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
WorkbenchHelp.setHelp( getControl(), 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 );
}
@@ -279,11 +277,11 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
if (fAttachMode == true) {
GridLayout layout = new GridLayout( 1, false );
optionsComp.setLayout( layout );
- optionsComp.setLayoutData( new GridData( GridData.END, GridData.CENTER, true, false, 1, 1 ) );
+ 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 ) );
+ 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;

Back to the top