Hi all,

Can anyone explain why QSpinBox hides its up-down buttons when I try to change its border width by the following code:
Qt Code:
  1. QSpinBox* spinBox=new QSpinBox();
  2. spinBox->setStyleSheet("*{border:1px solid black}");
To copy to clipboard, switch view to plain text mode 

Thanks!