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:
QFrame { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; spacing: 0px; padding: 0px; }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.
Bookmarks