PDA

View Full Version : QComboBox stylesheet text [SOLVED]



Alundra
14th January 2015, 20:47
Hi,
As you can see on this screenshot :
http://zupimages.net/up/15/03/sp8w.png
The property "ProjectionMode" is not aligned with other.
Is it possible to add 2px of padding on the QComboBox text in stylesheet ?
If not possible, derivate the QComboBox to reimplement paint is the only solution ?
Thanks for the help

EDIT SOLVED :

QComboBox
{
padding-left: 6px;
}