Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CSS for Toolbar Separator
CSS for Toolbar Separator [message #644662] Mon, 13 December 2010 16:40 Go to next message
Eclipse UserFriend
Originally posted by: stephan.scholz.dp4.de

Hi there,

I'm trying to get a css style to my ToolItem when it is no button, but a
separator.

Styling ToolItems works fine, but separators are drawn always as a
sunken vertical line (toolbar has FLAT and HORIZONTAL style). With Style
NONE, they stay invisible.

I have tried so far with no success:

sytle.css:

Label {..}
Label[SEPARATOR] {..}
ToolItem {..}
ToolItem[SEPARATOR] {..}
ToolSeparator {..}

and set color, background-color, border attributes.

most work fine for all other items, but still not for the separators.

I also checked the HTML output, the separators are present as separate
objects, but have no optical styles.

Best regards
Stephan Scholz
Re: CSS for Toolbar Separator [message #644708 is a reply to message #644662] Mon, 13 December 2010 20:31 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 Stephan,
there is a "ToolItem-Separator" CSS element, but currently only the
"width" property is themable (see [1]). If you need more themeable
properties please fill an enhancement request.
[ 1]
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. rap.help/help/html/reference/theming/ToolBar.html
Thanks,
Ivan

On 13.12.2010 6:40 PM, Stephan Scholz wrote:
> Hi there,
>
> I'm trying to get a css style to my ToolItem when it is no button, but
> a separator.
>
> Styling ToolItems works fine, but separators are drawn always as a
> sunken vertical line (toolbar has FLAT and HORIZONTAL style). With
> Style NONE, they stay invisible.
>
> I have tried so far with no success:
>
> sytle.css:
>
> Label {..}
> Label[SEPARATOR] {..}
> ToolItem {..}
> ToolItem[SEPARATOR] {..}
> ToolSeparator {..}
>
> and set color, background-color, border attributes.
>
> most work fine for all other items, but still not for the separators.
>
> I also checked the HTML output, the separators are present as separate
> objects, but have no optical styles.
>
> Best regards
> Stephan Scholz
Re: CSS for Toolbar Separator [message #644832 is a reply to message #644708] Tue, 14 December 2010 11:50 Go to previous message
Eclipse UserFriend
Originally posted by: stephan.scholz.dp4.de

thank you very much, works as expected.

Also a nice link, which I missed and haven't found before.

> Hi Stephan,
> there is a "ToolItem-Separator" CSS element, but currently only the
> "width" property is themable (see [1]). If you need more themeable
> properties please fill an enhancement request.
> [ 1]
> http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. rap.help/help/html/reference/theming/ToolBar.html
>
> Thanks,
> Ivan
Previous Topic:Server session timed out for two RAP instance in same browser
Next Topic:Focus event over IPad (mobile safari)
Goto Forum:
  


Current Time: Sat Apr 20 04:11:23 GMT 2024

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

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

Back to the top