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

Button's padding not working on macOS style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Quick: Controls 2
    • None
    • macOS

    Description

      When macOS style is used, setting padding to Button has no effect:

      //import QtQuick.Controls.Basic
      import QtQuick
      import QtQuick.Controls
      
      Window {
          visible: true
          title: qsTr("Hello World")
      
          Button {
              text: "button"
              padding: 40
          }
      }

      When other style is used, paddings work as expected.

      Attachments

        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
            michalc Michał Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes