IDEMPIERE-4288 zk9 - Editor-Dialog: Not Allowed to set height and rows at the same time (#56)

This commit is contained in:
Patric Massing 2020-05-13 17:13:25 +02:00 committed by GitHub
parent b7a2b0762e
commit cc159a3e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class WTextEditorDialog extends Window implements EventListener<Event>{
tabPanels.appendChild(tabPanel); tabPanels.appendChild(tabPanel);
textBox = new Textbox(text); textBox = new Textbox(text);
textBox.setCols(80); textBox.setCols(80);
textBox.setRows(30); textBox.setMultiline(true);
ZKUpdateUtil.setHeight(textBox, "100%"); ZKUpdateUtil.setHeight(textBox, "100%");
textBox.setEnabled(editable); textBox.setEnabled(editable);
ZKUpdateUtil.setHflex(textBox, "1"); ZKUpdateUtil.setHflex(textBox, "1");