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

Support custom style for GroupBox in Qt Quick Controls.

XMLWordPrintable

      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
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            leonlee Leonard Lee
            Votes:
            11 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes