layout.marginWidth = 0;
layout.marginHeight = 0;
group.setLayout(layout);
-
+
if (layoutData != DEFAULT_LAYOUT_DATA)
{
group.setLayoutData(layoutData);
GridData gridData = new GridData();
gridData.horizontalAlignment = GridData.FILL;
gridData.grabExcessHorizontalSpace = true;
- combo.setLayoutData(gridData);
+ combo.setLayoutData(gridData);
if (toolkit != null)
toolkit.adapt(combo);
try
{
int w = settings.getInt(prefix + "." + i + ".width"); //$NON-NLS-1$ //$NON-NLS-2$
- columns[i].setWidth(w);
+ columns[i].setWidth((w > 0) ? w : 50);
}
catch(NumberFormatException e)
{