Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CheckboxTreeViewer - Multiple Column - Right Justified Text
CheckboxTreeViewer - Multiple Column - Right Justified Text [message #114706] Sun, 07 December 2008 16:20 Go to next message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
My CheckboxTreeViewer has 2 columns

The header of 2nd Column is Right Justified when using SWT.RIGHT
However the Row Value of the 2nd Column is Left Justified.

Is there a way to right justify the row values in the 2nd Column. if so how
....?

Thanks
- Walter
Re: CheckboxTreeViewer - Multiple Column - Right Justified Text [message #114924 is a reply to message #114706] Tue, 09 December 2008 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Walter,

it works at least by using TableColumn#setAlignment(). If it does
not work passing the style flag to the constructor, please file a
bugzilla.

Cheers,
Rüdiger

Walter Prabhakar wrote:
> My CheckboxTreeViewer has 2 columns
>
> The header of 2nd Column is Right Justified when using SWT.RIGHT
> However the Row Value of the 2nd Column is Left Justified.
>
> Is there a way to right justify the row values in the 2nd Column. if so
> how ....?
>
> Thanks
> - Walter
Re: CheckboxTreeViewer - Multiple Column - Right Justified Text [message #115052 is a reply to message #114924] Tue, 09 December 2008 14:45 Go to previous message
Walter Mising name is currently offline Walter Mising nameFriend
Messages: 128
Registered: July 2009
Senior Member
Have just filed a bug @ https://bugs.eclipse.org/bugs/show_bug.cgi?id=258090

Thanks
-Walter
"Rüdiger Herrmann" <rherrmann@innoopract.com> wrote in message
news:ghlk5e$5ue$1@build.eclipse.org...
> Walter,
>
> it works at least by using TableColumn#setAlignment(). If it does not work
> passing the style flag to the constructor, please file a bugzilla.
>
> Cheers,
> Rüdiger
>
> Walter Prabhakar wrote:
>> My CheckboxTreeViewer has 2 columns
>>
>> The header of 2nd Column is Right Justified when using SWT.RIGHT
>> However the Row Value of the 2nd Column is Left Justified.
>>
>> Is there a way to right justify the row values in the 2nd Column. if so
>> how ....?
>>
>> Thanks
>> - Walter
Previous Topic:Table - Color - Alternate - Row
Next Topic:Does ScrolledComposite work in Dialog?
Goto Forum:
  


Current Time: Mon Feb 06 20:55:27 GMT 2023

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

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

Back to the top