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

QLinearGradient StyleSheet doesn't accept rgb(a) colors

    XMLWordPrintable

Details

    • bbe08d6b686456297ad4ab8c0923c3126e02e2b3 (qt/qtbase/5.12)

    Description

      Fragments 1 and 2 of the applied code (file main.cpp) having HTML colors and named colors work fine (screenshots pict1.png and pict2.png respectively), fragment 3 having rgb colors doesn't produce any visual effect (screenshot pict3.png).

       

      Workaround:

      A workaround is to remove the spaces after function definitions.

      Attachments

        1. main.cpp
          0.9 kB
          Letov Alexey
        2. pict1.png
          13 kB
          Letov Alexey
        3. pict2.png
          12 kB
          Letov Alexey
        4. pict3.png
          12 kB
          Letov Alexey

        Issue Links

          For Gerrit Dashboard: QTBUG-61795
          # Subject Branch Project Status CR V

          Activity

            People

              chehrlic Christian Ehrlicher
              alexex Letov Alexey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes