ToolItem Markup support [message #857792] |
Thu, 26 April 2012 17:45  |
Eclipse User |
|
|
|
Hi,
Are there plans to support RWT.MARKUP_ENABLED for ToolItem? I have followed an example created by Elias Volanakis and use a dynamic contribution item in the toolbar to build the perspective switcher for my RAP UI.
http://eclipsesource.com/blogs/2009/03/31/replacing-the-perspective-switcher-in-rcp-apps/
Everything works fine. However, I want to make the ToolItem text bold when a perspective is selected. I read the RAP documentation but ToolItem does not support Markup yet, right?
The second question comes to the border that highlights the selected perspective. I created the ToolItem in SWT.RADIO style. Which CSS property should I change if I want to have a thicker border, instead of the default 1-pixel border?
Thanks a lot for your help.
Ronald
|
|
|
|
|
|
Re: ToolItem Markup support [message #859895 is a reply to message #859251] |
Fri, 27 April 2012 17:29   |
Eclipse User |
|
|
|
Just a follow up question. In the RAP documentation, it mentioned that the color-gradient will only support "linear, left top, left bottom" or exactly "linear, left top, right top". Are you planned to support "left top, right bottom"?
Thanks,
Ronald
<color-gradient>
Format: gradient(, followed by a list of comma-separated arguments, followed by ).
The first three arguments define the type and direction of the gradient. RAP currently only supports linear vertical gradients from the top to the bottom and linear vertical gradients from left to right. Therefore these arguments have to be either exactly "linear, left top, left bottom" or exactly "linear, left top, right top". Any other arguments will produce an error.
[Updated on: Fri, 27 April 2012 17:29] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05268 seconds