Bug 411985 - Allow adding icons and buttons to a Text widget
Summary: Allow adding icons and buttons to a Text widget
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 330031
  Show dependency tree
 
Reported: 2013-07-01 05:46 EDT by Tim Buschtoens CLA
Modified: 2013-07-01 05:50 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 Tim Buschtoens CLA 2013-07-01 05:46:01 EDT
The Text widget can be configured to display two icons to the left/right, cancel and search. Considering the many possible uses of more of these kind of icons (look in the URL bar of a modern browser), we should provide a convinient API to add more of those, perhaps as items. While a Text widget wrapped in a composite is a valid alternative, it is less convinient especially regarding focus handling.

These icons should support hover effects, selection events and clientscripting. It should also be possible to style them so they look like a button. Afterwards it should be easier to use the same client code for Text, Combo, Spinner and DateTime.