The problem is with LoadPanel. For now you'll have to atleast set width of the LoadPanel
-- Raymond Irving --- Daniel Tiru <[EMAIL PROTECTED]> wrote: > Hi again! > > To clearify my problem: > > In the dynapi.gui.viewpane-loadpanel.html > > You will see this code: > var lp = new LoadPanel('loadpanel/file1.html'); > lp.setSize(300,300); > lp.setBgColor('#C0C0C0'); > > var vp = new ViewPane(null,250,100,200,200); > vp.setContent(lp) > > dynapi.document.addChild(vp); > > As i dont want any clipping to occure in the > loadpanel, i want to change > the code to: > var lp = new LoadPanel('loadpanel/file1.html'); > //lp.setSize(300,300); > lp.setBgColor('#C0C0C0'); > > var vp = new ViewPane(null,250,100,200,200); > vp.setContent(lp) > > dynapi.document.addChild(vp); > > This will result in that the content will be blank, > the viewpane is > white but the scrollbars are there... > As you will see in the example the loadpanels > content is clipped, this > is what i want to prevent, the content added to the > viewpane, should be > set to null or something, as the viewpane should > work this out by itslef > somehow... > > Best regards > Daniel > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel Tiru > Sent: den 1 oktober 2003 08:08 > To: [EMAIL PROTECTED] > Subject: [Dynapi-Dev] Loadpanel and ViewPanel > > > Hi folks! > > When using the ViewPanel and adding the content (a > Loadpanel) and you > dont set the size for the LoadPanel you wont see > anything. I am > currently trying to load in pages with dynamic > content (emails) into a > loadpanel, and using the ViewPanel to be able to > scroll verticaly and > horizontaly when my cant show more content. > > However, as i never knows how mutch space the loaded > content in the > loadpanel is, i would need to be able to set the w/h > to null, but this > dont work very well with the viewpane. > > Any idees? > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/