Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2044

Richtext labels do not support span-class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.2.4
    • PySide
    • None
    • All

    Description

      Setting richttext on a QLabel that contains a span with a class does not work.

       

      app.setStyleSheet(".italic { font-style: italic; }")

      label.setText("<span class='italic'>Should be italic but is not</span>")

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            falondrian Sascha Worszeck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes