IDEMPIERE-755 In Workflow activities not displayed correctly components

This commit is contained in:
Richard Morales 2013-03-17 15:27:24 -05:00
parent 16851ec487
commit 33648d7b56
1 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row.appendChild(div); row.appendChild(div);
row.appendChild(fNode); row.appendChild(fNode);
fNode.setWidth("100%"); fNode.setWidth("100%");
fNode.setHflex("true");
fNode.setReadonly(true); fNode.setReadonly(true);
row = new Row(); row = new Row();
@ -173,6 +174,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row.appendChild(fDescription); row.appendChild(fDescription);
fDescription.setMultiline(true); fDescription.setMultiline(true);
fDescription.setWidth("100%"); fDescription.setWidth("100%");
fDescription.setHflex("true");
fDescription.setReadonly(true); fDescription.setReadonly(true);
row = new Row(); row = new Row();
@ -184,6 +186,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row.appendChild(fHelp); row.appendChild(fHelp);
fHelp.setMultiline(true); fHelp.setMultiline(true);
fHelp.setWidth("100%"); fHelp.setWidth("100%");
fHelp.setHflex("true");
fHelp.setReadonly(true); fHelp.setReadonly(true);
fHelp.setRows(3); fHelp.setRows(3);
row.appendChild(new Label()); row.appendChild(new Label());
@ -195,6 +198,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
div.appendChild(lHistory); div.appendChild(lHistory);
row.appendChild(div); row.appendChild(div);
row.appendChild(fHistory); row.appendChild(fHistory);
fHistory.setHflex("true");
row.appendChild(new Label()); row.appendChild(new Label());
row = new Row(); row = new Row();
@ -205,6 +209,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
row.appendChild(div); row.appendChild(div);
Hbox hbox = new Hbox(); Hbox hbox = new Hbox();
hbox.appendChild(fAnswerText); hbox.appendChild(fAnswerText);
fAnswerText.setHflex("true");
hbox.appendChild(fAnswerList); hbox.appendChild(fAnswerList);
hbox.appendChild(fAnswerButton); hbox.appendChild(fAnswerButton);
fAnswerButton.addEventListener(Events.ON_CLICK, this); fAnswerButton.addEventListener(Events.ON_CLICK, this);
@ -219,6 +224,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
div.appendChild(lTextMsg); div.appendChild(lTextMsg);
row.appendChild(div); row.appendChild(div);
row.appendChild(fTextMsg); row.appendChild(fTextMsg);
fTextMsg.setHflex("true");
fTextMsg.setMultiline(true); fTextMsg.setMultiline(true);
fTextMsg.setWidth("100%"); fTextMsg.setWidth("100%");
row.appendChild(new Label()); row.appendChild(new Label());