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

Buttons are too small, focus rectangle only seen at the rounded corners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • Widgets: Styles
    • None
    • Windows
    • 3babe8c73 (14.0)

    Description

      Consider this screencast from Qt Creator 14's about dialog:

      Notice that the focus rectangle is only seen at the corners of the buttons. 

      Now have a look at how Windows Explorer's settings dialog looks like:

      The buttons are less rounded, but still rounded, and the focus rectangle is inside the button!

      This would explain why the Qt Creator's buttons seem so stretched.

      Lastly here is a screencast from the Windows Notepad where the focus is around the buttons:

      Qt Creator started with -style windowsvista:

      This looks like the Windows Explorer above, and doesn't look like having small buttons at all.

      Attachments

        1. win11-qt6.7.2.webp
          14 kB
        2. win11-explorer.webp
          74 kB
        3. win11-notepad.webp
          38 kB
        4. windowsvista.webp
          23 kB
        5. system-information.txt
          17 kB
        6. snip1.mp4
          278 kB
        7. snip2.mp4
          224 kB
        8. snpi0.mp4
          501 kB
        9. windows11-accent-color.webp
          1.27 MB

        Issue Links

          For Gerrit Dashboard: QTBUG-126515
          # Subject Branch Project Status CR V

          Activity

            People

              wladimir.leuschner Wladimir Leuschner
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes