Several Images in one table cell [message #467611] |
Wed, 01 February 2006 16:35  |
Eclipse User |
|
|
|
I would like to add more then one image to a table cell. I couldn't find any hints how to do that. All I can do is add one image and some text, but not more then one image.
Any idea?
Thanks, Daniel
|
|
|
|
|
Re: Several Images in one table cell [message #467793 is a reply to message #467789] |
Mon, 06 February 2006 14:38  |
Eclipse User |
|
|
|
Originally posted by: hoeggerand.post.ch
Hi Daniel
1) This issue is handled by your hacking tricks. Compute the cell size
out of your images and set it to the table.
2) This is a well known issue (it is also not possible to adjust the
first column SWT.CENTER). My hint is to not use the first column. Set
the first column to a width of 0 and fill your data up from the second
column
To your source question:
Do not waste any time into displaying more than one img in one column,
it is not provided.
cu andy
Daniel Flück wrote:
> Ok, thanks. I'll have a look at KTable.
>
> But some more questions arised in the last days:
>
> 1) If I use different images of different size in the same table, all
> images are resized to the first one set in the table. Is there any
> way around that?
>
> 2) As soon as I use images in any column, my first column gets some
> extra space for an image. Even if I never set an image in the first
> column. Is this common behaviour?
>
> Thanks, Daniel
>
>
> Lorenz Maierhofer wrote:
>
>> I am unsure if a solution for the SWT Table exists.
>>
>> If you choose to use KTable, this is possible.
>> However, you would have to implement your own renderer (which gives
>> you maximum flexibility since you can directly access the GC).
>>
>>
>> Daniel wrote:
>>
>>> I would like to add more then one image to a table cell. I couldn't
>>> find any hints how to do that. All I can do is add one image and some
>>> text, but not more then one image.
>>>
>>> Any idea?
>>> Thanks, Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.03875 seconds