title: Styling RichText Bullets in Flex
body: <p>I am developing an iPad app with RichText components. They are working fine on the target devices. However, bullets look less than stellar. Specifcally, I need to increase the space between the bullet and the list item. It's too close and doesn't look good and the design people are not at all pleased with it.</p>
  
  <p>The way the code works is we have an XML file that gets read in, and the contents of the screen are populated from that file. For example, here is a test list I have:</p>
  
  <pre><code>&lt;section id="outro"&gt;
      &lt;element id="outro"&gt;
          &lt;copy id="OutroTestCopy" x="50" y="75" width="1200"&gt;&lt;![CDATA[
              &lt;p fontSize="55" color="#cf7028"&gt;List to display&lt;/p&gt;
              &lt;list fontSize="50" fontWeight="bold" paddingLeft="20"&gt;
                  &lt;listMarkerFormat&gt;&lt;ListMarkerFormat paddingRight="300" fontSize="50" fontWeight="bold" afterContent="&amp;nbsp; " /&gt;&lt;/listMarkerFormat&gt;
                  &lt;li&gt;List Reference*&lt;span baselineShift="superscript" alignmentBaseline="ideographicBottom"&gt;12&lt;/span&gt;&lt;/li&gt;
                  &lt;li&gt;List Corp&lt;span baselineShift="superscript" alignmentBaseline="ideographicBottom"&gt;®&lt;/span&gt;&lt;/li&gt;
                  &lt;li&gt;List item&lt;/li&gt;
                  &lt;li&gt;Second list reference&lt;span baselineShift="superscript" alignmentBaseline="ideographicBottom"&gt;2&lt;/span&gt;&lt;/li&gt;
              &lt;/list&gt; 
          ]]&gt;&lt;/copy&gt;          
          &lt;footnote&gt;&lt;![CDATA[Test footnote]]&gt;&lt;/footnote&gt;
      &lt;/element&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>My ActionScript code takes the copy element above and runs it through the TextFlow import. I do this and not use actual TextFlow in the XML file because non-programmers with XML/HTML experience will be editing this file and I wanted to keep the markup as close to HTML as possible, rather than training them to do proper TextFlow:</p>
  
  <pre><code>copyRichText.textFlow = spark.utils.TextFlowUtil.importFromString(copy);
  </code></pre>
  
  <p>This runs well and I get my bullet list, with superscripts and fancy characters (see below). However, I can't change the spacing between the bullet and the list item text. I just want more space between the ListMarker and the list item. Right now they are too close and looked jammed up, and the design staff are giving me grief about it. I've tried (as you see) some padding and afterContent type attributes to get it to work, but they do nothing. Here is the result of the above, for reference:</p>
  
  <p><img src="https://i.stack.imgur.com/MEqKq.png" alt="Output of this code"></p>
  
  <p>Edit to add:
  I had previous used these resources for lists in TextFlow:</p>
  
  <ul>
  <li><a href="http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ff6.html" rel="nofollow noreferrer">Adobe's pre-List tags</a></li>
  <li><a href="http://help.adobe.com/en_US/flex/using/WS19f279b149e7481c7fdc883d12de39353f1-8000.html" rel="nofollow noreferrer">Adobe's list tags information (TextFlow)</a></li>
  <li><a href="http://blogs.adobe.com/tlf/2010/07/tlf-20-lists-markup.html" rel="nofollow noreferrer">TLF 2.0 Lists Markup with cool PDF print out</a></li>
  </ul>