Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Theming Button border when focused
Theming Button border when focused [message #1046706] Mon, 22 April 2013 04:54 Go to next message
Sebastien Arod is currently offline Sebastien Arod
Messages: 33
Registered: July 2009
Member
Hi,

From what I know there is no focused state on Button class but a Button-FocusIndicator class instead.

However the Button-FocusIndicator does not allow to change the border of the button itself but only the border of the focus indicator.

Is there a way to change the border color on the Button itself when focused?

Ideally it would be nice (and more consistant) to have Button:focused state to be able to change all the properties of the button on focus (background, font whatever...).

Similarly I suppose that having a focused state on Button-RadioIcon and Button-CheckIcon would be useful to allow change the icons when focused.

The List widget also seems to lack the focused state.

Is there a plan to support those features on theming?

[Updated on: Mon, 22 April 2013 05:40]

Report message to a moderator

Re: Theming Button border when focused [message #1047696 is a reply to message #1046706] Tue, 23 April 2013 10:34 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 355
Registered: July 2009
Senior Member
Hi.

This sounds like a very reasonable feature to me.
Why don't you open an enhancement request on bugzilla?

Greetings,
Tim

Am 22.04.2013 10:54, schrieb Sebastien Arod:
> Hi,
>
> From what I know there is no focused state on Button class but a
> Button-FocusIndicator class instead.
> However the Button-FocusIndicator does not allow to change the border of
> the button itself but only the border of the focus indicator.
>
> Is there a way to change the border color on the Button itself when
> focused?
> Ideally it would be nice (and more consistant) to have Button:focused
> state to be able to change all the properties of the button on focus
> (background, font whatever...).
>
> Similarly I suppose that having a focused state on Button-RadioIcon and
> Button-CheckIcon would be useful to allow change the icons when focused.
>
> Is there a plan to support those features on theming?
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Theming Button border when focused [message #1047773 is a reply to message #1047696] Tue, 23 April 2013 12:17 Go to previous message
Sebastien Arod is currently offline Sebastien Arod
Messages: 33
Registered: July 2009
Member
Hi Tim,

Thanks for the answer. I created enhancement request 406345 [Theming] Improve theming capabilities for focused Button and List widgets.

Regards,
-Seb
Previous Topic:computeSize returns different values after some point of time
Next Topic:Problem with RAP 1.5 App and Maven
Goto Forum:
  


Current Time: Wed Apr 16 12:17:14 EDT 2014

Powered by FUDForum. Page generated in 0.08876 seconds