In QT mode the showText dialog can take HTML content and render it. Unfortunately the content is not restricted by the fixed width of the container and does not wrap. So unless I manually add an arbitrary line-break (<br />) at the end of any line that might overflow the width it just forces me to scroll horizontally which is nonsensical. CSS colors seem to be respected but not width or padding and yet I can find no documentation that addresses what aspects of HTML components are valid and how to control overflow in a reasonable way. Does anyone have insight into this? Shouldn't it actually be able to render true HTML? I know QT widgets do/can.
asked 08 Dec '11, 14:22
In addition, the widget used to render the HTML is a QTextEdit, which has some limitations when displaying HTML. You can find a reference of the supported subset here
answered 09 Dec '11, 06:45