[Qgis-user] labeling

Stefan Giese Stefan.Giese at wheregroup.com
Mon Apr 8 23:30:15 PDT 2019


Depends how you connect your fields:

  "field1"  ||  ' '  || "field2"  -> one line

  "field1"  ||  '\n'  ||   "field2"  -> two lines

and if you have a '\n' (like in a file path) within your string it would 
also results in two lines... then you should escape your backslash with 
\\ or use /

Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
-----------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-Schulungen
bei derwww.foss-academy.com
-----------------------------------
WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.giese at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------

Am 09.04.2019 um 08:10 schrieb Boaz Bar Ilan:
> hi
>
> in the label I include 2 fields ( through the expression dialogue )
>
> one appear above the other
>
> is there a way to arrange them in one line?
>
> thanks
>
> boaz
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190409/b87990c5/attachment.html>


More information about the Qgis-user mailing list