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

Qt 5.11 ignores font size and weight style settings for QDockWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.11.1
    • None
    • All

    Description

      The current version of Qt ignores font size and weight settings for QDockWidget-, at least on Gentoo Linux-.

      Up to the last Gentoo stable Qt version (5.9.6), I could change a QDockWidget's title font by e. g. doing

      setStyleSheet(QStringLiteral("QDockWidget { font-weight: bold; font-size: 18pt; }");

      This does not have any effect anymore with Qt 5.11. According to https://forum.qt.io/topic/95884/, this is "a regression between 5.10.1 and 5.11".

      Would be nice if this was fixed again!

      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
            l3u Tobias Leupold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes