QSpinBox stylization
-
I'm trying to heavily style a QSpinBox and I've gotten it to where it looks good in the designer of creator. However when I compile and run it, it ends up being just all white.
Here's what I have in the stylesheet. I can post or attach pictures as needed.
@QSpinBox {
background-color: rgb(0, 0, 0);
border-image: url(:/images/images/spin_background.png);
border: 15px;
font: 75 24pt "Consolas";
color: rgb(255, 255, 255);
qproperty-minimumSize: 196px 56px;
qproperty-maximumSize: 196px 56px;
qproperty-alignment: AlignHCenter AlignVCenter;
}QSpinBox::up-button {
border-image: url(:/images/images/spin_up.png);
subcontrol-position: right;
height: 15px;
width: 23px;
}
QSpinBox::up-arrow {
height: 15px;
width: 23px;
}
QSpinBox::down-button {
border-image: url(:/images/images/spin_down.png);
subcontrol-position: left;
height: 15px;
width: 23px;
}@