Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to get the text for a legend item to go over multiple lines? I have some long item names and I have a set legend width that I have to use.

Without being able to make the text go over multiple lines I am unable to get my legend to fit the page properly.


I have added an image to better illustrate the problem. As you can see the text for area type one goes out of the box I have set up for a legend. Personally I think short names in legends work best, but project managers do not always agree with this.

enter image description here

share|improve this question
Does using \n do anything? – geographika Jun 7 '11 at 19:48
That was my first thought too geographika. Unfortunately it doesn't appear to. Nor does <BR> – Darren Cope Jun 7 '11 at 20:36
And the MapInfo trick of using chr$(13) doesnt help either. – James S Jun 8 '11 at 13:19
up vote 4 down vote accepted

This is not supported yet, afaik. There is a whole list of enhancement wishes on the QGIS wiki:


This is now implemented in the developer version. Let's see if it will be in 1.8 release.

share|improve this answer
Glad to see it is on the list of enhancement wishes. Just hope it is picked as one of the ones they implement. – James S Jun 16 '11 at 14:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.