Bug 346501 - [Theming][Button] Provide a way to theme the icon as FocusIndicator
Summary: [Theming][Button] Provide a way to theme the icon as FocusIndicator
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-05-19 12:15 EDT by Holger Staudacher CLA
Modified: 2011-11-28 06:11 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Staudacher CLA 2011-05-19 12:15:14 EDT
When you use a Check Button or a Radio Button you can't change the Icon when the Widget is focused. The current Focus-Indicator property does not allow to set the background-image. Anyway, I don't think it's a good idea to add this property. It would not fit with our Button-*Icon concept. I think it would be good to have something like Button-RadioIcon-FocusIndicator (Yes, I know this is a long name ;) or Button-FocusIndicator-RadioIcon.
Comment 1 Ralf Sternberg CLA 2011-05-30 07:44:59 EDT
Would it help to introduce a :focused state on which the background image can be exchanged?
OTOH, we already have an :unfocused state somewhere else...
Comment 2 Ralf Sternberg CLA 2011-11-28 06:11:01 EST
We already introduced a :focused state for Text-like widgets. If we did the same for Button, the icon could be exchanged when focused.