Bug 349012 - Setting Alignment when using automatic TableColumn creation
Summary: Setting Alignment when using automatic TableColumn creation
Status: NEW
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 07:44 EDT by Christian Campo CLA
Modified: 2011-06-10 07:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Campo CLA 2011-06-10 07:44:30 EDT
When laying out the TableColumn in the view to exactly match the number of bound properties in the controller, then the API of the SWT widget TableColumn allows to set the horizontal alignment.

In an alternative mode either no TableColumns are created at all in the view or the number does not match the number of bound properties in the controller. Then the TableRidget disposes all existing TableColumns and creates new ones with the style SWT.NONE.

There is no API to actually set an alignment for the individual columns.