Announcement

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

    HTMLPane IFrame Size

    Hi,

    i have a problem with the iframe (with 2.4 and the nightly build from today). When i want to load a html site it only shows a very small part of this html page (with scrollbars and so on). Even when i set the pane to 100 percent or a very high height. I took the showcast example, but did not find mistakes...

    Here the important code:

    Code:
    public class FAQMain extends HLayout {
    
    	private TreeGrid faqbaum;
    	private Tree datasource;
    	private HTMLPane anzeige;
    ....
    
    public FAQMain()
    {
    setWidth100();
    		setHeight100();
    		setMembersMargin(10);
    		moveTo(0, 0);
    ....
    anzeige = new HTMLPane();
    		anzeige.setContentsType(ContentsType.PAGE);
    		anzeige.setShowEdges(true);
                    anzeige.setContentsURL("http://www.google.de");
    ....
    addMember(anzeige);
    		draw();
    At the attatchments i add a picture from this problem.

    Greets and thank you for helping me,
    RBS2002
    Attached Files

    #2
    ok - i found a solution. With a HTMLFlow everything works pefect

    Comment

    Working...
    X