*** empty log message ***
diff --git a/update/org.eclipse.update.ui.forms/src/org/eclipse/update/ui/forms/internal/FormSection.java b/update/org.eclipse.update.ui.forms/src/org/eclipse/update/ui/forms/internal/FormSection.java
index 8205e19..750eb5f 100644
--- a/update/org.eclipse.update.ui.forms/src/org/eclipse/update/ui/forms/internal/FormSection.java
+++ b/update/org.eclipse.update.ui.forms/src/org/eclipse/update/ui/forms/internal/FormSection.java
@@ -258,7 +258,25 @@
int hfill = span==1 ? GridData.FILL_HORIZONTAL : GridData.HORIZONTAL_ALIGN_FILL;
GridData gd =
new GridData(hfill | GridData.VERTICAL_ALIGN_CENTER);
- //gd.grabExcessHorizontalSpace = true;
+ gd.horizontalSpan = span;
+ text.setLayoutData(gd);
+ return text;
+ }
+ protected Text createText(
+ Composite parent,
+ String label,
+ FormWidgetFactory factory,
+ int span,
+ int style) {
+ Label l = factory.createLabel(parent, label);
+ if ((style & SWT.MULTI)!=0) {
+ GridData gd = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
+ l.setLayoutData(gd);
+ }
+ Text text = factory.createText(parent, "", style);
+ int hfill = span==1 ? GridData.FILL_HORIZONTAL : GridData.HORIZONTAL_ALIGN_FILL;
+ GridData gd =
+ new GridData(hfill | GridData.VERTICAL_ALIGN_CENTER);
gd.horizontalSpan = span;
text.setLayoutData(gd);
return text;