Important: Please read the Qt Code of Conduct -

Weird behavior on TextArea with images + paragraph line-height

  • I've been poking around the QML sources of Text and TextArea and couldn't find much myself... when I say awkward behavior it's that the images rendered by TextEdit and TextArea are "floating".

    Example of what I mean:

    HTML w/ images in TextArea

    Html w/ images in Text

    I'm not sure how to proceed from here myself. TextArea provides me the usual context menu and a few methods to get text and formatted text while Text is itself pretty vanilla yet renders more or less the html as it should.

    Preferably I'd like to stick with TextArea which I can't do right now. I mostly want to use the methods and signals it provides in general, something that Text doesn't provide.

    Any thoughts, suggestions?

Log in to reply