Bug report #11321

Composer legend doesn't honour reference point when adding/deleting layers

Added by Frank Sokolic over 9 years ago. Updated over 9 years ago.

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

Description

In map composer, when adding or removing layers from the legend, the legend resizes itself but doesn't do so relative to the reference point that is selected under the Position and Size section of the item properties. For example, if a reference point of bottom-right is selected one would expect the legend to resize itself but to keep the bottom-right corner in the same place.
An Example: The two images show a map legend situated at the bottom-right corner of a map and the Position and Size reference point settings. The first image shows the legend with 6 items, the second image shows the legend with two items removed. In this case the bottom border of the legend has moved upwards whereas one would expect it to stay locked in position.

Legend1.png (27.2 KB) Frank Sokolic, 2014-10-04 12:25 AM

Legend2.png (24.7 KB) Frank Sokolic, 2014-10-04 12:25 AM

Associated revisions

Revision 5b9210b9
Added by Nyall Dawson over 9 years ago

[composer] Respect reference point when resizing scalebar and legend

Previously, the reference point (and data defined position/size) were
ignored when scalebars or legends resized themselves.

Fix #11321, #11380

History

#1 Updated by Nyall Dawson over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF