Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99366

QLabel with markdown text hides everything past <br> linebreak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.0.0
    • None

    Description

      Found:

      turning a QLabel to render markdown text via .setTextFormat(QtCore.Qt.MarkdownText) and using a linebreak like <br> hides ALL text after the linebreak.

      Expected:

      the label makes an immediate linebreak like it does with QtCore.Qt.RichText and line in the example PySide6\examples\webenginewidgets\markdowneditor and

      context

      One can even increase the hight of the label like shown in the attached demo. It just looks like there is no more text.

      additionally: The double space-method does not work either! See wikipedia But it does not end up removing the text.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            ewerybody Eric Werner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes