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

QToolTip box doesn't resize properly with larger font

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.2
    • 4.6.1, 5.4.1, 5.6.1
    • Widgets: Style Sheets
    • None
    • Windows XP
    • daa39f84996700d2459d8e570ac1b3f2f2cdffd0

    Description

      With the following code, the tooltip of the widget inherits the font-size, but the QToolTip box doesn't scale appropriately:

      widget->setStyleSheet("*{font-size: 20px;}");
      widget->setToolTip("tooltip");
      

      Attachments

        1. QTBUG-7874.zip
          3 kB
          Zeno Albisser
        2. screenshot-1.jpg
          90 kB
          Jan Šmucr
        3. screenshot-2.jpg
          90 kB
          Jan Šmucr
        4. screenshot-3.jpg
          89 kB
          Jan Šmucr
        5. screenshot-4.jpg
          91 kB
          Jan Šmucr

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              mpejcoch Martin Pejcoch (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes