[QGIS-trac] [Quantum GIS] #3484: Legend Title enhancements: Add "Show Title" checkbox, wrap text option

Quantum GIS qgis at qgis.org
Fri Feb 11 15:16:17 EST 2011


#3484: Legend Title enhancements: Add "Show Title" checkbox, wrap text option
--------------------------------+-------------------------------------------
   Reporter:  bderstine         |              Owner:  nobody       
       Type:  enhancement       |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  Map Legend        |            Version:  1.6.0        
   Keywords:  title, legend     |   Platform_version:  Windows 7 Pro
   Platform:  Windows           |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 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.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3484>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list