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

Button has wrong baselineOffset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.0
    • Quick: Controls 2
    • None
    • Linux/X11

      In 5.9, the Button element has a baselineOffset which is off by 1-pixel in all styles except the Material one (where it's correct).

      In 5.12.1 things have gotten a bit better, because the fusion style seems to be correct, too. But the Universal and Default style are still off by one.

      Please try the attached test case.

        1. test.qml
          1 kB
          Alberto Mardegan
        2. default.png
          11 kB
          Alberto Mardegan
        3. fusion.png
          10 kB
          Alberto Mardegan
        4. material.png
          11 kB
          Alberto Mardegan
        5. universal.png
          10 kB
          Alberto Mardegan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mardy Alberto Mardegan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes