|Re: SWT Table with different sized rows and wrapped text [message #508254 is a reply to message #508094]
||Mon, 18 January 2010 07:00
| Daniel KrÃ¼gler
Registered: July 2009
On 15.01.2010 22:13, Bill Masek wrote:|
> Thank you for responding.
> In that snippet all of the rows are the same height. It also states that
> the feature is part of SWT. In the table I am looking for every row
> could have a different height.
I understand that, but in your original posting you asked two different
questions, the second being answered by the corresponding link.
> Bill Masek
> Daniel Krügler wrote:
>> On 15.01.2010 01:05, Bill Masek wrote:
>>> I am trying to create a table that can have long and short lines as well
>>> as different numbers of lines in each row.
>>> I have the MeasureItem, EraseItem and PaintItem snippet, but even when I
>>> report the correct size for each entry all of the entries are same
>>> 1. How do I create a table with rows having different heights?
>> Not with SWT, which is affected by corresponding native limitations.
>>> 2. Is there an easy way to wrap the text in a row or do I have to build
>>> my own paint module for each item?
>> Have a look at
>> http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet006Ta bleMultiLineCells
>> Hint: It's a good idea to first check
>> which usually provides examples of interesting use cases.
>> HTH & Greetings from Bremen,
>> Daniel Krügler
Powered by FUDForum
. Page generated in 0.02166 seconds