Skip to main content


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 MallienFriend
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 FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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:Layout issues due to stringExtend miscalculation?
Next Topic:RAP nightly download link
Goto Forum:
  


Current Time: Thu Apr 25 07:43:42 GMT 2024

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

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

Back to the top