Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPushButton and QComboBox not properly aligned on macOS
Qt 6.12 LTS is out! See what's new in the release blog

QPushButton and QComboBox not properly aligned on macOS

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 802 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    It appears as though QHBoxLayout does not vertically align QPushButtons and QComboBoxes properly on macOS. See the following screenshots where the problem is apparent both in Qt Creator and at run-time in the app.

    0_1531107440695_2018-07-08_19-32-31.jpg

    1_1531107440695_2018-07-08_19-35-58.jpg

    Thoughts?

    https://alaskafamilysystems.com/

    jsulmJ 1 Reply Last reply
    0
    • P patrickkidd

      It appears as though QHBoxLayout does not vertically align QPushButtons and QComboBoxes properly on macOS. See the following screenshots where the problem is apparent both in Qt Creator and at run-time in the app.

      0_1531107440695_2018-07-08_19-32-31.jpg

      1_1531107440695_2018-07-08_19-35-58.jpg

      Thoughts?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @patrickkidd Which Qt version is it?
      Did you try to check for bug reports for such an issue on Qt bug-tracker?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • P Offline
        P Offline
        patrickkidd
        wrote on last edited by
        #3

        Latest macOS and qt-5.11.0. No dice on bug reports.

        https://alaskafamilysystems.com/

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mpergand
          wrote on last edited by mpergand
          #4

          Not new:
          0_1531147417861_Wrong alignment.jpg
          Wrong base line alignment for QLabel and QPushButton regarding QLineEdit and QComboBox one.

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt
          • Unsolved