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

        Issue Links

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

          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