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

QToolTip box doesn't resize properly with larger font

XMLWordPrintable

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

      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");
      

        1. screenshot-4.jpg
          screenshot-4.jpg
          91 kB
        2. screenshot-3.jpg
          screenshot-3.jpg
          89 kB
        3. screenshot-2.jpg
          screenshot-2.jpg
          90 kB
        4. screenshot-1.jpg
          screenshot-1.jpg
          90 kB
        5. QTBUG-7874.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes