How can I apply Multiline label option in the label property?
Name field contains a lengthy name. I want to wrap it.
My QGIS version is 1.8.
How can I apply Multiline label option in the label property?
Name field contains a lengthy name. I want to wrap it.
My QGIS version is 1.8.
If you labels contain a new line character (\n) they will be automatically wrapped. If not you can apply a wrapping character in the Advanced section of the labeling tools

The label will be wrapped on the character supplied. If you want to wrap on space just insert a space.
Since QGIS 2.4 there is very handy new expression builder function called wordwrap that will allow one to automatically wrap a lengthy string using as argument the ideal number of characters that a lime should have and ,optionally, a string delimiter (the default is space).
In the below example the field "sintaxon" is my lengthy values field.

Also notice that I can nest wordwrap several times if I want to use more than one string delimiter. In the example below it uses '-' and the default space.

IF("name"='Chester-le-Street', 'Chester-\nle-Street', name).
It's a hack, but it's good for my use.
– Gregory Jan 04 '16 at 14:07