Results 1 to 4 of 4

Thread: [Style Sheet] QMenu::item:hover bug

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default [Style Sheet] QMenu::item:hover bug

    I have a problem with style sheets with Qt 4.2 on windows. The following code does not produce the wanted effect(see image).
    Qt Code:
    1. app.setStyleSheet(
    2. "QMenu::item:hover {"
    3. " background: RGB(255,238,194);"
    4. " border: 1px solid black;"
    5. "}"
    6. );
    To copy to clipboard, switch view to plain text mode 
    Does anybody know if this has been fixed for version 4.3? And also will 4.3 support "QMenu::item:checked"?
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.