Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Flat border around a Browser widget
Flat border around a Browser widget [message #514817] Tue, 16 February 2010 12:36 Go to next message
Eclipse UserFriend
I am just trying to paint a flat looking border around a Browser widget, in order to look good inside a FormEditor.
But there is no CSS support in RAP for the widget Browser (according to http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/reference/theming/index.html ), nor for Composite. And also FormToolkit.paintBordersFor() is not supported by RAP.
The workaround is to have an one pixel wider parent Composite and set the background color to the wanted border color.

But this is quite ugly, do you know other solutions?

Is there any chance to get CSS support for such widgets like Browser until the 1.3 release? At least for some simple properties like "border"? (I already opened an enhancement request: #302975 in RAP bugzilla)

Re: Flat border around a Browser widget [message #514819 is a reply to message #514817] Tue, 16 February 2010 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Please see my comment on the bug.

On 16.02.2010 18:36, Bogdan B. wrote:
> I am just trying to paint a flat looking border around a Browser widget,
> in order to look good inside a FormEditor. But there is no CSS support
> in RAP for the widget Browser (according to
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/reference/theming/index.html
> ), nor for Composite. And also FormToolkit.paintBordersFor() is not
> supported by RAP.
> The workaround is to have an one pixel wider parent Composite and set
> the background color to the wanted border color.
>
> But this is quite ugly, do you know other solutions?
>
> Is there any chance to get CSS support for such widgets like Browser
> until the 1.3 release? At least for some simple properties like
> "border"? (I already opened an enhancement request: #302975 in RAP
> bugzilla)
>
>
Re: Flat border around a Browser widget [message #514983 is a reply to message #514817] Wed, 17 February 2010 06:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi Bogdan,

bug is fixed. Browser "border" is now themeable.

Best,
Ivan

On 2/16/2010 7:36 PM, Bogdan B. wrote:
> I am just trying to paint a flat looking border around a Browser
> widget, in order to look good inside a FormEditor. But there is no CSS
> support in RAP for the widget Browser (according to
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/reference/theming/index.html
> ), nor for Composite. And also FormToolkit.paintBordersFor() is not
> supported by RAP.
> The workaround is to have an one pixel wider parent Composite and set
> the background color to the wanted border color.
>
> But this is quite ugly, do you know other solutions?
>
> Is there any chance to get CSS support for such widgets like Browser
> until the 1.3 release? At least for some simple properties like
> "border"? (I already opened an enhancement request: #302975 in RAP
> bugzilla)
>
>
Re: Flat border around a Browser widget [message #515003 is a reply to message #514983] Wed, 17 February 2010 08:21 Go to previous message
Eclipse UserFriend
I already saw in the change log of Bug #302975 that you committed the enhancement for 1.3M6.
Thanks, Ivan, for implementing it and for the fast response time!
Previous Topic:session does not timeout when expected
Next Topic:SWT Layout resizable
Goto Forum:
  


Current Time: Tue Jun 17 01:36:07 EDT 2025

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

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

Back to the top