bug 10773 - fix initial text of finish button + tweak width of other settings dialog to wrap text RCL_2_4
authordadubrow
Tue, 23 Feb 2010 13:49:00 -0600
branchRCL_2_4
changeset 1010 a1762c18df95
parent 1008 e13ad743b9e7
child 1012 a39c7d184f5d
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:42:34 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizard.java	Tue Feb 23 13:49:00 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:42:34 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/OtherSettingsDialog.java	Tue Feb 23 13:49:00 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);