6

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.

Edit:

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

  • 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
4

This is not supported yet, afaik. There is a whole list of enhancement wishes on the QGIS wiki: http://www.qgis.org/wiki/Ideas_for_enhancement_print_composer

Update:

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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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