bug 10773 - fix initial text of finish button + tweak width of other settings dialog to wrap text
authordadubrow
Tue, 23 Feb 2010 13:51:39 -0600
changeset 1011 ac82c32cc589
parent 1009 64772cb3290b
child 1013 83255eb26cdb
bug 10773 - fix initial text of finish button + tweak width of other settings dialog to wrap text
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizard.java
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizard.java	Tue Feb 23 12:46:08 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizard.java	Tue Feb 23 13:51:39 2010 -0600
@@ -118,6 +118,7 @@
 			
 			// Thanks, JFace, for deleting validation messages on the first display
 			mainPage.validatePage();
+			updateDebugEditButton();
 		}
 	}
 	
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java	Tue Feb 23 12:46:08 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java	Tue Feb 23 13:51:39 2010 -0600
@@ -68,8 +68,7 @@
 		
 		final Label label = new Label(composite, SWT.WRAP);
 		label.setText(description);
-		GridData labelData = GridDataFactory.fillDefaults().grab(true, false).create();
-		label.setLayoutData(labelData);
+		GridDataFactory.fillDefaults().grab(true, false).hint(400, SWT.DEFAULT).applyTo(label);
 		
 		// spacer
 		new Label(composite, SWT.NONE);