How do you adjust the height on the EmbeddedWebAppSampleGadget?
In the EmbeddedWebApp.js file, you would need to explicitly add the width and height parameters to the iframe tag.
var html = '<iframe src="' + _urlToLoad + '" id="displayFrame" width="100%" height="650"></iframe>';
If you want the width to be the width of the browser page, set it to 100%, then change the height to whatever height you want.
Comments
0 comments
Please sign in to leave a comment.