Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to add an htmlflow that resizes itself when content size change?

    Hi,

    I have an application that follows SmartClient Architecture. So i have all components loaded and draw as i need them.

    Now I need to add some external pages in the application. To do this, i used a htmlflow with contentsType = page.

    The issue is that when i navigate on that htmlflow, it creates and removes scrollbars based on the page size, but always keep the same size.

    How can i make it don't show scrollbars and adapt the height of the htmlflow based on the content?

    Example: if the page content height is 800px, change the htmlflow to 800px.

    I do tried to change on the iframe via parent.myHtmlFlow.setHeight(currentPageSize); but it only changes the htmlflow, not the iframe itself.

    Thanks.
Working...
X