Changing margin size

I’ve enabled margins in my HorizontalLayout and by inspecting the elements with Firebug, I can see that the margin size is 18px. This 18px is too much in my application, I want something in the lines of 10px margin, but I was actually unable to find a way to modify the margin size. Any suggestions?

You should start by reading the section in the Book about layout margins,
Layout Margins

Or, you could start using my new
, which makes defining margins for layouts dead-easy and intuitive :slight_smile:

Thanks for the link!

Actually, I tried using the DashLayouts, but they ended up clipping the content in an unexpected way (I didn’t experiment too much, pretty much just replaced the Vertical/HorizontalLayouts with their Dash equivalents).

Hmm, that’s unfortunate. Would you like to send me a test case of your layout, I’d be happy to see what the problem is, so I could maybe fix something in DashLayout?