Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TableViewer / LabelProvider Images with different width
TableViewer / LabelProvider Images with different width [message #1016165] Tue, 05 March 2013 10:23 Go to next message
Jens Mallien is currently offline Jens Mallien
Messages: 4
Registered: March 2013
Junior Member
Hi,

is it possible to have Images with different width in one TableViewer?

It seems, that TableViewer saves the size of the first image and set this to the width of all images.
Cols: If another column has a wider Image, it will be cut off at the width of the first image from the first column with an image.
Rows: If another row has no Image or an Image with another size, it will be cutted off or filled.

Is there a SWT.Syle or a switch to prevent that check, calculation and resizing of all images to just have images with their original size, regardless of the first found image?

Regards,
Jens
Re: TableViewer / LabelProvider Images with different width [message #1016614 is a reply to message #1016165] Thu, 07 March 2013 07:15 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1839
Registered: July 2009
Senior Member
Hi Jens,
RAP inherited this behavior from SWT Tree/Table. The only workaround I'm
aware of is to enable markup in Table/Tree and set your image together
with the text (markup).
HTH,
Ivan

On 3/7/2013 4:20 AM, Jens Mallien wrote:
> Hi,
>
> is it possible to have Images with different width in one TableViewer?
>
> It seems, that TableViewer saves the size of the first image and set this to the width of all images.
> Cols: If another column has a wider Image, it will be cut off at the width of the first image from the first column with an image.
> Rows: If another row has no Image or an Image with another size, it will be cutted off or filled.
>
> Is there a SWT.Syle or a switch to prevent that check, calculation and resizing of all images to just have images with their original size, regardless of the first found image?
>
> Regards,
> Jens

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP 2.0 Tooltip on Table(Viewer) column header not working
Next Topic:Table selection issue
Goto Forum:
  


Current Time: Tue Oct 21 08:56:43 GMT 2014

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

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