Hello,
Is it possible to set the width and height of a dialog based on the IFrame and its content? I have a variable String that represent HTML file that I would like to display in a Dialog.
Dialog dialog = new Dialog();
IFrame iFrame = new IFrame();
iFrame.setSrcdoc(htmlContent);
iFrame.setSizeFull();
dialog.setResizable(true);
dialog.add(iFrame);
dialog.open();