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

Changing font properties of tooltip breaks font

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.9.1
    • 5.8.0
    • Quick: Controls 2
    • None
    • Windows 10, 64 bit

      Compiler: Visual Studio 2015
    • 9b201572e518c976dee95f4c3146b4feedbb2e70

      Modifying the font properties (pixelSize, bold, ...) in a tooltip works as expected if a literal is used. As soon a property or expression is used the font family falls back to default.

      In a text control using expressions for font property works as expected.

       

      See attached main.qml and screenshot

      Used font is [Fira Code|https://github.com/tonsky/FiraCode,] but any other family will have the same result

       

       

        1. main.qml
          1 kB
          Lars Flitter
        2. tooltip_broken_font.PNG
          12 kB
          Lars Flitter
        For Gerrit Dashboard: QTBUG-61114
        # Subject Branch Project Status CR V

            Unassigned Unassigned
            palortoff Lars Flitter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes