Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 294685

Summary: [Label] '&' ist not displayed
Product: [RT] RAP Reporter: Benjamin Wolff <eclipse>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Benjamin Wolff CLA 2009-11-09 18:47:43 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: CVS HEAD 09. Nov. 2009 (1.3 M3)

The ampercent (&) ist not displayed in a Label Widget.
It is displayed correctly in a Text Widget.

Reproducible: Always

Steps to Reproduce:
Create a Label Widget and do a: label.setText("&");
The & won't be displayed.
Comment 1 Ivan Furnadjiev CLA 2009-11-10 00:38:03 EST
This is in compliance with SWT. To display a "&" character use label.setText("&&"); - double '&'.