Bug report #7099
print composer's legend item improperly calculates its right-side box spacing
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.
Associated revisions
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 almost 12 years ago
- Status changed from Open to Closed
Fixed in changeset 99dd1da2f0d9b450c3dbafeb2db61c3c278db141.