taqi/cleancode — Issue #1: change strategy for setting Column width.
Author: taqi
Created: 2012-01-10 23:26:14+00:00
State: open

currently we have tableViewer in the SelectCommitsWizardPage with the hardcoded sizes for each column in pixels. Lets change it to the ColumnWeightData - it provides ability to set sizes in something like percents.
See: http://javafact.com/2010/07/26/working-with-jface-tableviewer/

Snippet:
TableColumnLayout layout = new TableColumnLayout();
composite.setLayout(layout);
layout.setColumnData(tblclmnWeight4, new ColumnWeightData(4, ColumnWeightData.MINIMUM_WIDTH, true));