|
Re: Bug in ToolBar/ToolItem? [message #127695 is a reply to message #127679] |
Thu, 09 April 2009 08:33 |
|
Hi David,
you're right, the ToolBar height is still hard coded to 22px. We planned
to revise the ToolBar theming soon. However, if you like to open up a
bug report for this problem [1], you can easily keep track of the
progress. We can probably fix this before the 1.2 release.
Best regards, Ralf
[1] http://wiki.eclipse.org/RAP_Bug_Reporting_Howto
> Hello,
>
> I'm pretty new to RAP. My Task is to make an RCP Application also
> available in RAP and to develop a style sheet, so that it will look
> nice. But there I have trouble with the ToolBar widget or maybe the
> ToolItem widget only.
>
> The problem is, that the instances of ToolItem are too small and the
> icon on the are corrupted. The icons are 24 by 24 pixels in width and
> height, but the ToolItems are only 24 by 22 pixels in width and height,
> whereas the ToolBar seems to be much taller (ca. 50 pixels in height and
> 100% of the parent widget in width (e.g. 800px)).
>
> It's not possible for me to make the ToolItems larger via CSS and I also
> did not find a way via Java source code.
>
> Something curious is, that the ToolItems adjust their width according to
> the icons' width, but they are always exactly 22 pixels high, not caring
> about the CSS.
>
> Any idea?
>
> -----
>
> [CSS via theme.properties]
> ToolItem {
> height:30px;
> width:30px }
>
|
|
|
Powered by
FUDForum. Page generated in 0.03265 seconds