I am struggling to figure out how to manage space in the legend.

I have extra space between some items in my legend, which I would like to remove:

enter image description here

How can I manage these spaces?

I built my legend by adding an extra group layer with the legend items in it stored in 3 different layers (Infrastructure, BAL and Radians).

Every time I used a rule based classification, and it doesn't show any issues for the BAL and Radians groups.

But it doesn't work as I'd like in Infrastructure group. There is extra space between the two NRO and Infra layers.

How can I remove this extra space?

EDIT : here is a screenshot of the legend in the main QGIS window, displaying like I'd like in the print composer.

enter image description here

  • What does the "Legend items" look like from the legends item properties. If you take a screenshot of it. Mar 7, 2017 at 10:19
  • Same trouble here - it looks like composer treated every (or not simple) symbol as square or expand it into square bounds and add some extra spacing... I also didn't found any solution (not counting some obvious like create only square-composed icons on map).
    – Jendrusk
    Mar 7, 2017 at 10:20
  • could you create two legends and change the spacing on just one?
    – Ian Turton
    Mar 7, 2017 at 10:23
  • Vesanto I edited and added a screenshot of the legend in the main QGIS window. Mar 7, 2017 at 10:24
  • iant, I could make different legends indeed and position them manually, but I'm preparing a template for other users who are not familiar with QGIS so I have to make it as simple as possible. Mar 7, 2017 at 10:25

1 Answer 1


You can adjust spacing using the "Spacing" part of the Legend Item Properties:

Does adjusting any of these help?

enter image description here

  • It does help, but it modifies everything and does not correct the disproportions between the problematic items. Mar 7, 2017 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.