Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Align text in Table items
Align text in Table items [message #34557] Fri, 22 June 2007 17:54 Go to next message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
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 #34591 is a reply to message #34557] Fri, 22 June 2007 19:56 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
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 Go to previous message
Roberto Sanchez is currently offline Roberto SanchezFriend
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.
Previous Topic:Deployment problem (javax.servlet)
Next Topic:PageBook component in RWT
Goto Forum:
  


Current Time: Sun Oct 06 04:42:52 GMT 2024

Powered by FUDForum. Page generated in 0.03456 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top