Bug 306386

Summary: [Text] SWT.CENTER and SWT.RIGHT does not work with SWT.PASSWORD
Product: [RT] RAP Reporter: Michael <michael7>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 Keywords: ui
Version: unspecified   
Target Milestone: 1.4 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Michael CLA 2010-03-18 11:32:54 EDT
Build Identifier: 20090920-1017

The SWT flags SWT.CENTER or SWT.RIGHT doesn't work properly with the Text widget under RAP, when the SWT.PASSWORD flag is set. The text within the widget is always left oriented. In RCP everything works very well.   

Reproducible: Always

Steps to Reproduce:
1. configure a Text widget, e.g.
2. Text txtPassword = new Text(composite, SWT.BORDER | SWT.CENTER | SWT.PASSWORD);
3. start the RAP application
Comment 1 Ralf Sternberg CLA 2010-03-18 13:27:20 EDT
Works in SWT.
Comment 2 Ivan Furnadjiev CLA 2010-07-12 08:32:01 EDT
Missing TextLCAUtil.writeAlignment( text ) added in PasswordTextLCA#renderInitialization.