CSS for Toolbar Separator [message #644662] |
Mon, 13 December 2010 16:40 |
Eclipse User |
|
|
|
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 |
Ivan Furnadjiev 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02839 seconds