Bug 306386 - [Text] SWT.CENTER and SWT.RIGHT does not work with SWT.PASSWORD
Summary: [Text] SWT.CENTER and SWT.RIGHT does not work with SWT.PASSWORD
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: 1.4 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2010-03-18 11:32 EDT by Michael CLA
Modified: 2010-07-12 08:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.