Table alignments - set different alignments on a single column [message #78758] |
Wed, 19 March 2008 13:07  |
Eclipse User |
|
|
|
Hi,
does anyone knows if is it possible to give different alignments to a
table header column and to the records on that column? Example, the
header column text be set with a SWT.LEFT alignment and the records on
that column be set with a SWT.RIGHT alignment.
Currently TableColumn only has a setAllignment(int) that defines the
alignment for all information on the column (header + data). Is it
possible, in same way, to give separate alignments to a single column?
I'm using label providers and table viewers to interact with the table.
Don't know if this helps with something...
Thanks in advance,
Hugo Ferreira
|
|
|
Re: Table alignments - set different alignments on a single column [message #78907 is a reply to message #78758] |
Sun, 23 March 2008 10:42  |
Eclipse User |
|
|
|
Hi Hugo,
as far as I can see that is even in SWT not possible besides
owner-drawing cells. So there will be no support in RAP as long as this
is not possible in SWT without owner-drawing the cells.
Greets
Benny
Hugo Ferreira wrote:
> Hi,
>
> does anyone knows if is it possible to give different alignments to
> a table header column and to the records on that column? Example, the
> header column text be set with a SWT.LEFT alignment and the records on
> that column be set with a SWT.RIGHT alignment.
>
> Currently TableColumn only has a setAllignment(int) that defines the
> alignment for all information on the column (header + data). Is it
> possible, in same way, to give separate alignments to a single column?
>
> I'm using label providers and table viewers to interact with the table.
> Don't know if this helps with something...
>
> Thanks in advance,
> Hugo Ferreira
|
|
|
Powered by
FUDForum. Page generated in 0.03194 seconds