[OSGeo-Discuss] Two Tier Label

Alexandre Neto senhor.neto at gmail.com
Tue May 11 10:35:25 PDT 2021


Hi,

You can change your labels from single label to rule-based labeling. Create
two rules without a filter, the for each use the label style you want.
Finally, you can use something like offset y to move one up and the other
down.

Best Regards,

Alexandre Neto
User Support
www.qcooperative.net

A terça, 11/05/2021, 11:31, Tony Spiess <spiesspurchaser at outlook.com>
escreveu:

> Hi,
> QGIS Zurich 3.18.2 -Win10
> I have a virtual layer that has multiple polygons each with two pertinent
> attribute fields: "Field1Name" and "Field2Name". I can set and Style the
> Label for one field and I can display these two fields as a Label, using
> the Expression Value "field1name" || '\n' || "field2name".
> BUT is it possible to set a different Text/Render Style for each of the
> two fieldnames in the Label to display at the same time? I want both fields
> data to appear within the polygon label, but one highlighted, bold and
> large and the other subordinated, smaller less obvious.
> If I set up two Text Styles up is there an Expression that will achieve
> this two component styled Label?
> Tony
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20210511/58250cbb/attachment.html>


More information about the Discuss mailing list