title: How to properly set padding for QListView::item using Qt style sheets?
body: <p>So I have following lines in my style sheet (among others):</p>
  
  <pre><code>QListView::item {
    padding: 5px;
  }
  </code></pre>
  
  <p>and this breakes my list view appearance.</p>
  
  <p><img src="https://i.stack.imgur.com/EJn4q.png" alt="enter image description here"></p>
  
  <p>However, after clicking on one of the checkboxes, it fixes itself.</p>
  
  <p><img src="https://i.stack.imgur.com/UYnzk.png" alt="enter image description here"></p>
  
  <p>It works okay without padding specified. <BR>
  Any ideas?</p>