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

Qml button rendering with QApplication/QtWidgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.1
    • None
    • macOS 10.13.3
      QtCreator 4.7.1
    • macOS

    Description

      Hello,

       

      I have issues since I updated Qt to v5.11.1 on macOS. 

      By default, buttons are not displayed as they should: text is not centered vertically inside the button.

      If I set a height of 27 or more, the button looks ok but it loses the native macOS style.

      A minimalist example and a screenshot of the bug are attached to this issue.

       

      Thanks

      Attachments

        1. buttonsbug.png
          47 kB
          Sorant Jeremy
        2. buttonsbug.zip
          4 kB
          Sorant Jeremy
        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
            Niak74 Sorant Jeremy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes