I made this work with jquery - it is not very portable, but does seem to work...
I have a case detail page with some inline VF components. I also have a VF page that overrides my Case Detail page but displays the standard case detail via an apex:detail tag. That way, I can change the size of the VF components via JS on the case detail override page. As I say, it ain't pretty but it does work...
<apex:page standardController="Case" extensions="CaseTaskExtension">
<apex:stylesheet value="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"/>
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" />
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" />
<script type="text/javascript">
var j$ = jQuery.noConflict();
j$(document).ready(function(){
var commentsize = '{!ccsize}'; //param from controller
if (commentsize > 0 && commentsize < 200) {
commentsize = 200;
}
//Replace with Id of VF Page that is used for inline component
j$('#066i0000000GTnI').css('height', commentsize);
});
</script>
<apex:detail subject="{!case.Id}" showChatter="true" relatedList="true" relatedListHover="true">
</apex:detail>
</apex:page>