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

QPushButton with a style sheet layout error on Mac

    XMLWordPrintable

Details

    • macOS
    • 112b8e49c291a2ee6a1d67dccf368e53c9bd19cd

    Description

      I made a simple form with three QPushButtons on a horizontal layout with style sheets like this:
      QPushButton {
      border: none;
      background-color: red;
      min-width: 100px;
      min-height: 50px;
      }
      (colors and min-heights are different). The full project is attached. Layout spacing is set to 0.
      On Linux and Windows, it works as intended (see linux.png). But on Mac OS the buttons overlap (see mac.png).

      Attachments

        1. LayoutTest.tar.gz
          1 kB
        2. linux.png
          linux.png
          13 kB
        3. mac.png
          mac.png
          15 kB
        4. mac-combobox.png
          mac-combobox.png
          125 kB
        5. windows-combobox.png
          windows-combobox.png
          32 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bachewii Jens
              dsavenko Dmitry Savenko
              Votes:
              23 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes