### Eclipse Workspace Patch 1.0 #P org.guvnor.tools Index: src/org/guvnor/tools/utils/AuthenticationPromptDialog.java =================================================================== --- src/org/guvnor/tools/utils/AuthenticationPromptDialog.java (revision 32436) +++ src/org/guvnor/tools/utils/AuthenticationPromptDialog.java (working copy) @@ -75,10 +75,9 @@ } }); - new Label(composite, SWT.NONE).setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + new Label(composite, SWT.NONE); - Composite pwgroup = PlatformUtils.createComposite(composite, 2); - cbSavePassword = new Button(pwgroup, SWT.CHECK); + cbSavePassword = new Button(composite, SWT.CHECK); cbSavePassword.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { } @@ -93,11 +92,12 @@ boolean shouldSavePasswords = GuvnorPreferencePage.shouldSavePasswords(); saveInfo = shouldSavePasswords; cbSavePassword.setSelection(shouldSavePasswords); + cbSavePassword.setText(Messages.getString("save.password")); - new Label(pwgroup, SWT.NONE).setText(Messages.getString("save.password")); //$NON-NLS-1$ - new Label(composite, SWT.NONE).setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + new Label(composite, SWT.NONE); warningLabel = new Label(composite, SWT.WRAP); + warningLabel.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); warningLabel.setText(Messages.getString("password.warning")); //$NON-NLS-1$ warningLabel.setEnabled(shouldSavePasswords);