Actually I’ve just fount a solution to iFrame height which allows you to set its height when the app is loading.
Honestly I really don’t like it, but is there any other way?
First you have to define a global which will keep your iFrame height eg. [if1_height].
After app deployment you need to edit index.php of the app and find this part:
<li class="scContainerWidget widget" id="widget1">
<div class="widget-head scContainerTitle">
<img src="<?php echo $this->Ini->path_icones . '/' . $this->Widget_max; ?>" style="border: 0; float: left; margin-top: 3px" class="sc-widget-maximize" alt="widget1" />
<h3 id="id-title-widget1">Widget1</h3>
</div>
<div class="widget-content" style="height: [B][U]<?php echo $_SESSION['if1_height']; ?>[/U][/B]px; padding: 0px">
<iframe id="id-iframe-widget1" class="sc-iframe-widget" style="height: 100%; width: 100%; border: 0px" src="<?php echo $this->Ini->path_link . SC_dir_app_name('test_control_1'); ?>/?script_case_session=<?php echo session_id(); ?>"></iframe>
</div>
</li>
and put <?php echo $_SESSION[‘if1_height’]; ?> in the place you see it the example.
It’s very dirty hack.
But this is all about ScriptCase - dirty hack after dirty hack.
I hope Brazilian planes are made different way…