Skip to main content


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 08:54 Go to next message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
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 09:40]

Report message to a moderator

Re: Theming Button border when focused [message #1047696 is a reply to message #1046706] Tue, 23 April 2013 14:34 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
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 16:17 Go to previous message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
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:Status Handlers for RAP
Next Topic:computeSize returns different values after some point of time
Goto Forum:
  


Current Time: Thu Apr 25 05:20:30 GMT 2024

Powered by FUDForum. Page generated in 0.03377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top