Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #15 from KlasJoenssson/Bug3202
Hid the password.
  • Loading branch information
goglepox committed Jul 26, 2012
2 parents e32314a + 78ec96b commit 1af4818
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -67,13 +67,13 @@ protected Control createDialogArea(Composite parent) {
newPasswordLabel.setLayoutData(formData_1);
newPasswordLabel.setText("New password:");

oldPasswordText = new Text(container, SWT.BORDER);
oldPasswordText = new Text(container, SWT.BORDER | SWT.PASSWORD);
final FormData formData_2 = new FormData();
formData_2.right = new FormAttachment(100, -35);
formData_2.bottom = new FormAttachment(oldPasswordLabel, 0, SWT.BOTTOM);
oldPasswordText.setLayoutData(formData_2);

newPasswordText = new Text(container, SWT.BORDER);
newPasswordText = new Text(container, SWT.BORDER | SWT.PASSWORD);
formData_2.left = new FormAttachment(newPasswordText, 0, SWT.LEFT);
final FormData formData_3 = new FormData();
formData_3.left = new FormAttachment(newPasswordLabel, 5, SWT.RIGHT);
Expand Down

0 comments on commit 1af4818

Please sign in to comment.