Bug report #7994

legend spacing broken for layer set to "hidden"

Added by Mathieu Pellerin - nIRV almost 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:Radim Blazek
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16845

Description

It appears that when a QGIS composer legend's layer is set to hidden, it fails to take into account the previous item offset when rendering legend box. It's a bit hard to explain in words, I believe the attached screenshot does a better at describing the issue.

I've also created a dummy project file with a composer that shows the symptoms to facilitate debugging.

This appears to be the last remaining issue for QGIS composer legends item placement. Reluctant to set it as blocker, so will leave it as high, but IMO should be fixed prior to 2.0.

legend_broken_project.zip (8.52 KB) Mathieu Pellerin - nIRV, 2013-06-03 08:01 PM

screenshot.png (16.3 KB) Mathieu Pellerin - nIRV, 2013-06-03 08:01 PM

Associated revisions

Revision 499db4ec
Added by Radim Blazek almost 11 years ago

composer legend spacing corrected, fixes #7994

History

#1 Updated by Radim Blazek almost 11 years ago

  • Status changed from Open to Closed

#2 Updated by Radim Blazek almost 11 years ago

I have changed a bit spacing. Instead of using group top margin for space between the title and the first item in column it is now using new "Title space" which is space below title (it is written in tooltip).

It should now work as expected.

#3 Updated by Mathieu Pellerin - nIRV almost 11 years ago

Radim, great, working like a charm here. Also, glad you introduced the title spacing option, that was needed. Cheers

Also available in: Atom PDF