IDEMPIERE-3882 high load of the browser by creating a document attachment / disable scroll bar - the preview panel is showing a double scroll bar
This commit is contained in:
parent
d061f0bdf0
commit
a1f5fd0107
|
@ -301,7 +301,7 @@ public class WAttachment extends Window implements EventListener<Event>
|
||||||
|
|
||||||
Center centerPane = new Center();
|
Center centerPane = new Center();
|
||||||
centerPane.setSclass("dialog-content");
|
centerPane.setSclass("dialog-content");
|
||||||
centerPane.setAutoscroll(true);
|
//centerPane.setAutoscroll(true); // not required the preview has its own scroll bar
|
||||||
mainPanel.appendChild(centerPane);
|
mainPanel.appendChild(centerPane);
|
||||||
centerPane.appendChild(previewPanel);
|
centerPane.appendChild(previewPanel);
|
||||||
ZKUpdateUtil.setVflex(previewPanel, "1");
|
ZKUpdateUtil.setVflex(previewPanel, "1");
|
||||||
|
|
Loading…
Reference in New Issue