|Re: Several Images in one table cell [message #467793 is a reply to message #467789]
||Mon, 06 February 2006 19:38
Originally posted by: hoeggerand.post.ch|
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
To your source question:
Do not waste any time into displaying more than one img in one column,
it is not provided.
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.01631 seconds