I'm attempting to create a vertical layout of 5 buttons used for navigation in a program. They're white buttons with black text when unselected, and blue buttons with white text when selected. Ideally, I'd like to have them with no space in between them. Here's the style sheet I'm currently using for the buttons:

Qt Code:
  1. color: black;
  2. background-color: white;
  3. border-width: 0px;
  4. border-style: solid;
  5. margin: 0;
  6. padding: 10px;
  7. font-size: 14px;
  8. min-width: 150px;
  9. min-height: 15px;
  10. }
  11.  
  12. QPushButton:pressed {
  13. background-color: blue;
  14. color: white;
  15. }
  16.  
  17. QPushButton:checked {
  18. background-color: blue;
  19. color: white;
  20. }
To copy to clipboard, switch view to plain text mode 

This works fine on Mac OS X. There's no visible space between the buttons, however on windows, there's always a few pixels worth of background viewable between each button. I've tried setting negative margins, but that doesn't do anything but make each individual button a bit smaller. Anyone know of a way to achieve buttons that are "Stacked" like this?