Feature request #10273

Add support for multi-line strings in the composer' attribute table item

Added by Mathieu Pellerin - nIRV over 3 years ago. Updated about 2 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

Right now, the composer's attribute table doesn't take into account string cells that contains multiple lines (see attached screenshot). It would be very useful if it did.

Couple of scenarios that would benefit from this:
- Displaying a long description string by using the wordwrap() function in an expression-based column
- Displaying a string-based column that's meant to be a list (as with the attached screenshot, names of owners, which is broken down into multiple lines)
- etc.

multiline_fail.png (61.3 KB) Mathieu Pellerin - nIRV, 05/14/2014 11:48 PM

Associated revisions

Revision 372534eb
Added by Nyall Dawson about 2 years ago

[composer] Add proper handling of multiline text in attribute tables

Previously multi-line text would overflow onto neighbouring cells.
Now rows will be expanded to fit required height of text.
Fix #10273.

Sponsored by City of Uster

History

#1 Updated by Mathieu Pellerin - nIRV over 3 years ago

Vertical alignment of cell content should be configurable too.

#2 Updated by Nyall Dawson over 3 years ago

Relates to #8006.

#3 Updated by Nyall Dawson about 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF