Ticket #3484 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Legend Title enhancements: Add "Show Title" checkbox, wrap text option

Reported by: bderstine Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Map Legend Version: 1.6.0
Keywords: title, legend Cc:
Platform Version: 7 Pro Platform: Windows
Must Fix for Release: No Awaiting user input: yes

Description

Sometimes legend titles are not needed, sometimes rather long legend titles are needed. QGIS' Legend Title does not handle these cases well.

1. The Print Composer does not provide a way to wrap long legend titles to multiple lines. 2. Print Composer leaves space for a title at the top of the legend even if there is no legend text. It would be very useful if there were a "Show Title" checkbox in the General Tab to turn on and off the legend title and the space reserved for the legend title. This would be the same as the "Show Frame" check box in the Item Options tab.

Steps to Reproduce: Open a map with at least one layer, Open a Print Composer, Add a new vector legend Click on Item Tab (right side menu) Click on Item Options tab - this is the "Show frame" check box Click on General - this is where the "Show title" check box should be 1. If you type a very long title, there is no way to wrap the text 2. If you delete the title text, the space in the legend for the title still exists (see screenshots) The closest I could get to removing the extra white space at the top of the legend was setting the title font size to 1, but that still leaves extra white space at the top of the legend, an on/off button would be much better.

Attachments

LegendTitleCheckBox.png Download (35.9 KB) - added by bderstine 2 years ago.
Legend Title Check Box Mock Up
LegendLongTitle.png Download (26.0 KB) - added by bderstine 2 years ago.
Legend Long title - no wrapping screenshot
LegendNoTitle.png Download (20.9 KB) - added by bderstine 2 years ago.
Legend No Title w/extra white space screenshot

Change History

Changed 2 years ago by bderstine

Legend Title Check Box Mock Up

Changed 2 years ago by bderstine

Legend Long title - no wrapping screenshot

Changed 2 years ago by bderstine

Legend No Title w/extra white space screenshot

Changed 2 years ago by bderstine

  • platform_version changed from Windows 7 Pro to 7 Pro
  • status_info set
Note: See TracTickets for help on using tickets.