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

QProgressBar stylesheet only renders background-color, chunk margin

    XMLWordPrintable

Details

    Description

      A QProgressBar oriented vertically will not display stylesheet changes such as ::chunk

      {width:30px}

      In fact the only stylesheet changes that are rendered is background-color and margin for ::chunk. If any QProgressBar changes are attempted, the chunks are not displayed. Example: ::chunk

      {background-color:#33BF33; margin:3px;}

      works but ::chunk

      {background-color:#33BF33; width: 30px; margin:3px;}

      does not. Example: ::chunk

      {background-color:#33BF33; margin:3px;}

      works but "

      {border: 2px solid grey; border-radius: 3px; text-align: center;}

      ::chunk

      {background-color:#33BF33; margin:3px;}

      " does not. This is true for Windows (MinGW) and Linux (Ubuntu 9.10 g++ 4.4.1) Plastique style.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ad5xj Ken Standard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes