Skip to main content
Participant
December 20, 2011
Question

Padding has no effect in image in TLF

  • December 20, 2011
  • 1 reply
  • 2945 views

My Code:

var tl:String = "<p>Hello, <img paddingTop='10' paddingBottom='10'  src='https://imgssl.constantcontact.com/letters/images/v8_your_image_100x100.gif' align='right'></img></p>";

htmlFlowReference.textFlow = TextConverter.importToFlow(tl, TextConverter.TEXT_FIELD_HTML_FORMAT);

Please suggest what i doing wrong....

This topic has been closed for replies.

1 reply

Adobe Employee
December 20, 2011

paddingTop and paddingBottom can work with TextConverter.TEXT_FIELD_HTML_FORMAT.

HTML importer in TLF is a little bit simple.

Inspiring
March 1, 2012

The paddingTop and paddingBottom don't seem to work when importing from an external XML source. Is there any reason why?

Adobe Employee
March 2, 2012

Did you try to import the internal XML with same content? I cannot imagine it's because XML is external.

Paste your code scrap here. I will try to help you.