Bug report #7099

print composer's legend item improperly calculates its right-side box spacing

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

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:-
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 #:16180

Description

Under QGIS master, the print composer's legend item improperly calculates its right-side box spacing as it fails to take into account the icon label space value.

If the icon label space value is set to 0.00 mm, the legend object will have equal box spacing on all sides. If you increase the icon label space value, the box spacing on the right side diminishes, until text pushed beyond the legend's box width. The attached screenshot demonstrates this issue.

Not sure whether it's a regression. I have a feeling it is, but didn't try on a QGIS 1.8 build to confirm.

qgis-legend-right_margin_bug.jpg (320 KB) Mathieu Pellerin - nIRV, 2013-02-05 01:03 AM

Associated revisions

Revision 99dd1da2
Added by Radim Blazek over 11 years ago

composer legend width fix, fixes #7099

History

#1 Updated by Giovanni Manghi almost 12 years ago

  • Target version set to Version 2.0.0
  • Priority changed from Normal to Severe/Regression
  • Category set to 33

Confirmed, is a regression.

#2 Updated by Mathieu Pellerin - nIRV almost 12 years ago

I believe this regressed as part of commits which implemented the nice legend's multicolumn feature.

#3 Updated by Radim Blazek over 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF