Feature request #10273

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

Added by Mathieu Pellerin - nIRV almost 3 years ago. Updated over 1 year ago.

Status:Closed Start Date:05/14/2014
Priority:Normal Due date:
Assigned to:Nyall Dawson % Done:

0%

Category:Map Composer / Printing
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

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 372534eb8956c9725a378923a4e91697d20bffee
Added by Nyall Dawson over 1 year 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

Updated by Mathieu Pellerin - nIRV almost 3 years ago

Vertical alignment of cell content should be configurable too.

Updated by Nyall Dawson almost 3 years ago

Relates to #8006.

Updated by Nyall Dawson over 1 year ago

  • Status changed from Open to Closed

Also available in: Atom