Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table Cell Alignment
Table Cell Alignment [message #466953] Thu, 19 January 2006 20:37 Go to next message
Eclipse UserFriend
Originally posted by: rlaprelle.harmonia.com

Does anyone know of a way to set the alignment on an individual table cell
(not an entire row or column)? A JFace solution would be specially
appreciated.
Re: Table Cell Alignment [message #466982 is a reply to message #466953] Fri, 20 January 2006 15:32 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You can only set the alignment of an entire column - this is done in the
constructor of TableColumn by using the style SWT.LEFT, SWT.RIGHT or
SWT.CENTER.

"Robert LaPrelle" <rlaprelle@harmonia.com> wrote in message
news:dqotai$gd$1@utils.eclipse.org...
> Does anyone know of a way to set the alignment on an individual table cell
> (not an entire row or column)? A JFace solution would be specially
> appreciated.
>
Re: Table Cell Alignment [message #467009 is a reply to message #466953] Sat, 21 January 2006 12:14 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Check out KTable at ktable.sourceforge.net:
It allows you to do that...

Robert LaPrelle wrote:
> Does anyone know of a way to set the alignment on an individual table cell
> (not an entire row or column)? A JFace solution would be specially
> appreciated.
>
>
Re: Table Cell Alignment [message #467194 is a reply to message #466953] Thu, 26 January 2006 09:01 Go to previous message
Cliff Liang is currently offline Cliff LiangFriend
Messages: 24
Registered: July 2009
Junior Member
You could attach one text box on the cell using CellEditor.

Cliff Liang

"Robert LaPrelle" <rlaprelle@harmonia.com> д
Previous Topic:Combo boxes on forms
Next Topic:ImageLoader save()
Goto Forum:
  


Current Time: Thu Apr 25 06:59:35 GMT 2024

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

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

Back to the top