Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2159

Stylesheet - Action pressed without hover

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.7
    • Other
    • None
    • Windows

    Description

      In the following example stylesheet, the button will appear blue instead of white after pressing on it and hovering away. In actual CSS this action works and the button appears white (https://jsfiddle.net/9pqn8g6b/).

       

       

      #button{
      	background: black;
      }
      #button:hover{
      	background: blue;
      }
      #button:pressed{
      	background: white;
      }
      #button:hover:pressed{
      	background: red;
      }
      
       
      

       

      Attachments

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            joschmitt John Schmitt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: