I'm trying control the spacing of a QFrame within a QFrame using a stylesheet. If you create a frame in a frame with designer this is what it looks like: (please click Open just below that name to see the image)
https://docs.google.com/leaf?id=0B3a...thkey=CJfEnKkE

In designer there are layout margins you can set. They default to 9.
https://docs.google.com/leaf?id=0B3a...thkey=CM6XmtIC

If you change the Margins to 0 (zero) on both Frames this is what the frame in frame will look like.
https://docs.google.com/leaf?id=0B3a...thkey=CKTJz-UD

This is what I want to do from a Stylesheet.

In my stylesheet I've done both:
Qt Code:
  1. QFrame::layout { margin: 0px }
  2.  
  3. margin-top: 0px;
  4. margin-right: 0px;
  5. margin-bottom: 0px;
  6. margin-left: 0px;
  7. spacing: 0px;
  8. padding: 0px;
  9. }
To copy to clipboard, switch view to plain text mode 

Based upon looking at the designer it appears that layout is a sub-control of the frame, but I haven't found any documentation about layouts in the stylesheet documents.

Has anyone done this, I expect is is easy.