IDEMPIERE-3882: high load of the browser by creating a document attachment

This commit is contained in:
Hans Auler GmbH 2019-02-01 11:23:50 +01:00
parent e278db4d73
commit d061f0bdf0
1 changed files with 3 additions and 3 deletions

View File

@ -296,9 +296,9 @@ public class WAttachment extends Window implements EventListener<Event>
bDelete.addEventListener(Events.ON_CLICK, this);
previewPanel.appendChild(preview);
ZKUpdateUtil.setHeight(preview, "100%");
ZKUpdateUtil.setWidth(preview, "100%");
ZKUpdateUtil.setVflex(preview, "1");
ZKUpdateUtil.setHflex(preview, "1");
Center centerPane = new Center();
centerPane.setSclass("dialog-content");
centerPane.setAutoscroll(true);