There's no way to set this option that I'm aware of. Perhaps the best option would be to make a duplicate of the layout and then select the layout you want dynamically at runtime, based on whether or not there are contents in the related field.
Thanks for the reply.
Is my thinking correct for the Statement below?
Upon reading the help. I can set sliding and printing on the portal odject itself. So the portal will move up and down (don't need left) on the page based on the size of the objects above. But any fields in a portal will not slide around in the portal itself. Is this correct?
Also, if I set the portal area to be one inch and I have the portal set to slide. Will it collapse if the field is empty if I have sliding and printing on the enclosed field in the portal.
Yes, the portal will collapse if you set it to slide and there are no related records, so long as you set all the fields in the portal row to collapse as well. Perhaps that will meet your need.