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

drawing drop down arrows with stylesheets?

    XMLWordPrintable

Details

    Description

      Sometimes the position of the arrows in QTreeWidgets is not suitable, due to the size of the images used instead of the arrows, or for other aesthetic reasons.

      It would be nice if stylesheet code like this was supported:

      setStyleSheet(
      "QTreeWidget

      {" "background-color: #fafafa;" "}

      "
      "QTreeView::branch:open:

      {" "margin-left: 10px;" "margin-right: 5px;" "}

      "
      "QTreeView::branch:closed:

      {" "margin-left: 10px;" "margin-right: 5px;" "}

      "
      );

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes