Richard, thanks for the reply. I tried your suggestion, but it didn't seem to help. I've recreated with a simple MXML test:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:RichEditableText width="890" height="600" whiteSpaceCollapse="collapse" fontSize="18">
<s:TextFlow whiteSpaceCollapse="collapse">
<s:p>
The secondary survey of this patient reveals he has suffered two major penetrating shrapnel injuries just below the right eye and right parietal scalp region. He also has minor shrapnel wounds to his left forearm, right deltoid region, and right cheek.
</s:p>
<s:div tabStops="0 350">
<s:img source="http://flashsupport.com/images/waterfall.png" />
<s:tab />
<s:img source="http://flashsupport.com/images/waterfall.png" />
<s:br/>
Left deltoid injury
<s:tab />
Right deltoid injury
</s:div>
</s:TextFlow>
</s:RichEditableText>
</s:Application>
(The padding occurs with or without the <s:div>, but I thought you should see what I'm ultimately trying to accomplish.)
thanks again for your help!
-Robert
p.s. thank you to peter dehaan for the tabstops help!
The default lineHeight is the maximum of 120% of the fontSize of the fontSize of the elements on the line. The height of InLineGraphicElements is treated as the fontSize of the ILG elements. Modify your InlineGraphicElement tags like this and you won't get any extra space.
<img source="http://flashsupport.com/images/waterfall.png" lineHeight="100%"/>
Hope that helps,
Richard