hi,
i tried using TMSFMXHTMLText to put in text that is 1.5-spaced (line-height=1.5) but it doesn't seem to work:
TMSFMXHTMLText1.Text := '<P line-height="1.5x">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</P>';
DisplayHTML is true. Wordwrap is true. the component is about Width=300.
most of the other tags work for me. am i doing something wrong?
This attribute isn't supported.
Info about the mini HTML attributes supported can be found here:
thank you for this!
however, i have actually consulted the mini-html implementation that you linked to and there's a section there about line-height, which i followed, that's why i thought it was supported.
value 1.5x is not valid.
The value is a number and sets the pixels
oh sorry! the 1.5x is a typo. :)
i actually tried values ranging from 2-50 (without x or any other non-numeric character) but didn't see a difference.