Results 1 to 1 of 1

Thread: QComboBox with stylesheet not rendering icons.

  1. #1
    Join Date
    Jul 2018
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default QComboBox with stylesheet not rendering icons.

    Can someone explain this to me?

    If you comment out the setStylesheet line the application renders the icons in the drop down.
    However with the setStylesheet line the drop down will not render the icons.

    I'm running this on Windows 10 and Mac OS using Qt 6.7.1.

    Thank you.
    Attached Files Attached Files
    Last edited by WolfByte; 24th May 2024 at 20:02.

Similar Threads

  1. QComboBox stylesheet text [SOLVED]
    By Alundra in forum Qt Programming
    Replies: 0
    Last Post: 14th January 2015, 21:47
  2. Qt Stylesheet and QComboBox with property
    By vnuss in forum Qt Programming
    Replies: 0
    Last Post: 2nd October 2013, 10:06
  3. Custom QComboBox or how to use Qt icons in widgets
    By ScabrusMantra in forum Qt Programming
    Replies: 1
    Last Post: 23rd March 2011, 19:34
  4. Stylesheet on QComboBox.
    By jos in forum Newbie
    Replies: 1
    Last Post: 5th December 2010, 11:08
  5. QComboBox and Icons
    By X-man in forum Qt Programming
    Replies: 0
    Last Post: 3rd December 2008, 20:17

Tags for this Thread

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.