Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:36 Go to next message
Bogdan B. is currently offline Bogdan B.Friend
Messages: 50
Registered: July 2009
Member
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 17:48 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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 11:57 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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 13:21 Go to previous message
Bogdan B. is currently offline Bogdan B.Friend
Messages: 50
Registered: July 2009
Member
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: Thu Apr 18 08:34:18 GMT 2024

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

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

Back to the top