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

Support custom style for GroupBox in Qt Quick Controls.

    XMLWordPrintable

    Details

      Description

      As titled. It would be nice that we are able to customize the style of GroupBox and its items in Qt Quick Controls. E.g. CheckBoxStyle, etc.

      Partial workaround shown below. But, it does not fit properly with the default style.

      GroupBox {
          id: groupBox
          anchors.centerIn: parent
          Label {
              parent: groupBox
              anchors.bottom: parent.top
              anchors.left: parent.left
              anchors.leftMargin: 4
              text: "Draft"
              color: "darkgray"
          }
          Rectangle {
              color: "#555"
              width: 100
              height: 100
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            leonlee Leonard Lee
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes