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

setting a image (or background-image) with QStylesheet doesn't work properly when working with background-color also.

    XMLWordPrintable

Details

    Description

      When the background-color has been set e.g.

      • {background-color: grey;}

        and one try then to set the image or background-image for a QWidget Container with a selector like e.g. the class selector:
        .QWidget

        {image: url(:new/prefix/headline.png);}

        this won't work.
        Hint: In my case the QWidget Container contains two QLabel childs.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            majo Jo Maier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes