2 Attachment(s)
How to change arrow of QComboBox
Hello! I have a QComboBox and I want to change the drop arrow, but my arrow is showed very pixelated in QComboBox. I also want to move it to the right and make it bigger. What to solve that?
How my QComboBox looks like:
Attachment 13274
My arrow image:
Attachment 13275
Code:
type_box->setStyleSheet("QComboBox { border: 1px solid #dfdede; border-radius: 10px; background: #dfdede; } QComboBox::drop-down:!editable { background: transparent; border: none;} QComboBox::down-arrow {image: url(:/icons/arrow-down.png);}")
Re: How to change arrow of QComboBox
Hello! I found out what was wrong. My image was not loaded corectly, so I rebuild my project and now it works pretty well!