Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Bug in ToolBar/ToolItem?
Bug in ToolBar/ToolItem? [message #127679] Thu, 09 April 2009 08:04 Go to next message
David H. is currently offline David H.Friend
Messages: 6
Registered: July 2009
Junior Member
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 }
Re: Bug in ToolBar/ToolItem? [message #127695 is a reply to message #127679] Thu, 09 April 2009 08:33 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 }
>
Previous Topic:Updating all users' view using server-push
Next Topic:RAP and local address of the remote client
Goto Forum:
  


Current Time: Fri Dec 03 08:22:08 GMT 2021

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

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

Back to the top