4

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. – HeikkiVesanto Mar 7 '17 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 '17 at 10:20
  • could you create two legends and change the spacing on just one? – Ian Turton Mar 7 '17 at 10:23
  • Vesanto I edited and added a screenshot of the legend in the main QGIS window. – GuiOm Clair Mar 7 '17 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. – GuiOm Clair Mar 7 '17 at 10:25
2

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. – GuiOm Clair Mar 7 '17 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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