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

Behavior change 6.4.3 -> 6.5.2 QGroupBox styling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8
    • 6.5.2, 6.6.2
    • Widgets: Style Sheets
    • None
    • Windows 10
    • Windows

    Description

      we use a stylesheet to style group boxes like the following

      QGroupBox{
          padding: 5px 3px;
          border: 1px solid #e9e9e9;
          border-top-width: 32px;
          background: #ffffff;
      }
      QGroupBox::title{
          font-family: "Roboto Black";
          font-size: 18px;
          color: #444444;
          padding: 8px 10px;
          background: #e9e9e9;
      }
      QGroupBox.box-primary{
          border-color: #276497;
      }
      QGroupBox.box-primary::title{
          color: #ffffff;
          background-color: #276497;
      } 

      in v6.4.3 the result is good:

      in v6.5.2 (I did not test if it's already changed in v6.5.0 or .1) there is a change at the title's bottom border rendering (it's not a straight line anymore):

       

       

      Do you have any suggestions for a workaround? Thanks in advance

       

       

      Attachments

        1. image-2023-07-20-10-46-41-207.png
          1 kB
          Bernhard Stöcker
        2. image-2023-07-20-10-48-26-014.png
          3 kB
          Bernhard Stöcker
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            stoeckerb Bernhard Stöcker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes