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

default padding in MacOS ComboBox is different

XMLWordPrintable

    • macOS

      The ComboBox controls on the macOS theme have a default padding of 5 (or something). You can change this by setting leftPadding, rightPadding, etc. (but not padding). The other controls such as TextField don't have any default padding. It seems inconsistent and looks ugly when intermixing controls.

      Worse, when changing leftPadding, the text in the ComboBox moves but the background of the ComboBox keeps the default padding, making it ugly and unusable.

      Additionally, the SpinBox has buttons that look identical to the ComboBox, but the ComboBox highlights his with the system's active color.

      It just seems like all the controls should all have the same default padding, and more effort should be put in to make them match modern MacOS, and to make the the controls use their palette property. E.g. I noticed the GroupBox titles don't match the way they look on MacOS: I had to add additional code to handle that. I noticed that buttons in the MacOS theme don't use the palette.button color.

        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
            brannon Brannon King
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes