Opened 10 years ago

Last modified 10 years ago

#3484 new enhancement

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:
Must Fix for Release: No Platform: Windows
Platform Version: 7 Pro 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 (3)

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

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by bderstine

Attachment: LegendTitleCheckBox.png added

Legend Title Check Box Mock Up

Changed 10 years ago by bderstine

Attachment: LegendLongTitle.png added

Legend Long title - no wrapping screenshot

Changed 10 years ago by bderstine

Attachment: LegendNoTitle.png added

Legend No Title w/extra white space screenshot

comment:1 Changed 10 years ago by bderstine

Awaiting user input: set
Platform Version: Windows 7 Pro7 Pro
Note: See TracTickets for help on using tickets.