title: How to set the size of a QCheckBox's indicator?
body: <p>This code:</p>
  
  <pre><code>QCheckBox* selection = new QCheckBox(backgroundEditor);
  selection-&gt;setGeometry(
              0               ,   //Left
              0               ,   //Top
              buttonHeight    ,   //Width
              buttonHeight        //Height
              );
  selection-&gt;setStyleSheet(QString(
                        "background-color: white;"
                        "           color: black;"
                        "QCheckBox::indicator "
                        "{"
                        "     width: %1px;"
                        "    height: %1px;"
                        "}"
                        ).arg(buttonHeight));
  </code></pre>
  
  <p>produces:</p>
  
  <p><a href="https://i.stack.imgur.com/jWeuY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jWeuY.png" alt="enter image description here"></a></p>
  
  <p>The white area has the correct geometry, but I want the indicator box (and thus the click-target) to fill it.  How do I do that?</p>
  
  <hr>
  
  <p>A bit of experimenting shows that the color specification wipes out the size.  Removing it makes the size correct, but of course the colors are wrong.  How can I have both?</p>