|
Re: Align text in Table items [message #34591 is a reply to message #34557] |
Fri, 22 June 2007 19:56 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
Hi Roberto,
thanks for the hint, I simply overlooked to also align the items, though
this might not be easy to accomplish(:
Feel free open open a bug report to track the progress.
Cheers,
Rüdiger
Roberto Sánchez wrote:
> Hi all, I'm trying to set text align in a Table but without success, my
> code:
>
> TableColumn column = new TableColumn (tabla, SWT.CENTER);
> column.setText ("My title");
> column.setWidth(100);
> column.setAlignment(SWT.CENTER);
>
> This code only affects to column title, that is, column title is
> centered but table items keeps left aligned, Is there another method to
> set aligment in a table item ? is it a bug ? or Maybe is a not yet
> implemented feature ?
>
> Please, let me know.
>
> Thanks in advance.
> Roberto.
|
|
|
Re: Align text in Table items [message #34692 is a reply to message #34591] |
Sat, 23 June 2007 08:35 |
Roberto Sanchez Messages: 82 Registered: July 2009 |
Member |
|
|
Hi Rüdiger, I've added next bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194085
Regards.
Roberto.
Ruediger Herrmmann escribió:
> Hi Roberto,
>
> thanks for the hint, I simply overlooked to also align the items, though
> this might not be easy to accomplish(:
> Feel free open open a bug report to track the progress.
>
> Cheers,
> Rüdiger
>
> Roberto Sánchez wrote:
>> Hi all, I'm trying to set text align in a Table but without success,
>> my code:
>>
>> TableColumn column = new TableColumn (tabla, SWT.CENTER);
>> column.setText ("My title");
>> column.setWidth(100);
>> column.setAlignment(SWT.CENTER);
>> This code only affects to column title, that is, column
>> title is centered but table items keeps left aligned, Is there another
>> method to set aligment in a table item ? is it a bug ? or Maybe is a
>> not yet implemented feature ?
>>
>> Please, let me know.
>>
>> Thanks in advance.
>> Roberto.
|
|
|
Powered by
FUDForum. Page generated in 0.02519 seconds