Bug 365442 - Tab key in wrapped text widget
Summary: Tab key in wrapped text widget
Status: RESOLVED DUPLICATE of bug 321274
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 09:49 EST by Daria Huber CLA
Modified: 2011-12-02 12:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daria Huber CLA 2011-12-02 09:49:57 EST
Build Identifier: 

I build a custom text widget by wrapping org.eclipse.swt.widgets.Text by a composite:

Composite wrapperComposite = toolkit.createComposite(parent, SWT.NONE);
GridLayoutFactory.fillDefaults().applyTo(wrapperComposite);
GridDataFactory.swtDefaults().hint(width, height).applyTo(wrapperComposite);
this.text = toolkit.createText(wrapperComposite, style);
GridDataFactory.swtDefaults().grab(true, true).hint(width,height).align(SWT.FILL, SWT.FILL).applyTo(this.text);

If i use my custom text widgets then i can navigate between it only by pressing tab key twice. It happens only with RWT but not in SWT. What can i do?

Thanks


Reproducible: Always
Comment 1 Ivan Furnadjiev CLA 2011-12-02 12:05:56 EST
This bug is a duplicate of bug 321274. The workaround is to create the wrapped composite with NO_FOCUS style flag.

*** This bug has been marked as a duplicate of bug 321274 ***