Results 1 to 1 of 1

Thread: How to change the qcombobox down arrow width size?

  1. #1

    Default How to change the qcombobox down arrow width size?


    I have to following code to add a qcombobox to the toolbar, the icon is displayed in the drop-down with QSize(32,32), but the down-arrow width is also set the same, is there any way to change the down-arrow width size? So that it could look like the one with the red line.

    QComboBox* cb = new QComboBox();
    cb->setIconSize(QSize(32, 32));
    cb->addItem(QIcon(":/images/default_view.png"), QString(""));
    cb->addItem(QIcon(":/images/front_view.png"), QString(""));
    QWidgetAction* wa = new QWidgetAction(0);

    Attached Images Attached Images

Similar Threads

  1. QcomboBox hide the drop down arrow
    By Mrdata in forum Newbie
    Replies: 6
    Last Post: 5th October 2018, 03:05
  2. Replies: 5
    Last Post: 11th October 2015, 23:51
  3. qcombobox scroll arrow problem
    By in forum Qt Programming
    Replies: 4
    Last Post: 28th January 2013, 07:16
  4. Replies: 1
    Last Post: 20th March 2012, 16:09
  5. QComboBox: remove drop Down Arrow
    By GuS in forum Qt Programming
    Replies: 2
    Last Post: 30th May 2008, 04:05


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.