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

QDockWidget title is not displayed correctly when stylesheet is used

    XMLWordPrintable

Details

    • 3056b825bd22ddf17deee03c5c43117ad6aa545e

    Description

      QDockWidget title text is not displayed correctly when stylesheet is used:

      setStyleSheet("QDockWidget::title {"
                        "background: yellow;"
                        "}"
                        );
      

      If the titlebar is set to vertical position only few letters of title text is shown.
      In horizontal alignment text gets overlapped with the buttons if the text is long enough.

      Please, see the attached picture and the example application.

      Attachments

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

        Activity

          People

            qtcomsupport Qt Support
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes