Skip to main content
Tweeted twitter.com/StackGIS/status/937820998665154560
deleted 17 characters in body; edited tags
Source Link
underdark
  • 84.5k
  • 22
  • 233
  • 415

I am using QGIS (sadly only 2.8) and I have a label on my dataset. It currently looks like this:

    "MP_Lookup_Constituency" || '\n' ||  "MP_Lookup_Name" +' ('+"MP_Lookup_Party"+')'

The Constituency appears above the rest of the text, but I'd like to (not sure if possible) just underline this part of the label. So the Constituency is underlined, but the rest isn't. I've tinkered with different things, but no joy, so any help would be amazing!

Thanks

Steve

I am using QGIS (sadly only 2.8) and I have a label on my dataset. It currently looks like this:

    "MP_Lookup_Constituency" || '\n' ||  "MP_Lookup_Name" +' ('+"MP_Lookup_Party"+')'

The Constituency appears above the rest of the text, but I'd like to (not sure if possible) just underline this part of the label. So the Constituency is underlined, but the rest isn't. I've tinkered with different things, but no joy, so any help would be amazing!

Thanks

Steve

I am using QGIS (sadly only 2.8) and I have a label on my dataset. It currently looks like this:

    "MP_Lookup_Constituency" || '\n' ||  "MP_Lookup_Name" +' ('+"MP_Lookup_Party"+')'

The Constituency appears above the rest of the text, but I'd like to (not sure if possible) just underline this part of the label. So the Constituency is underlined, but the rest isn't. I've tinkered with different things, but no joy, so any help would be amazing!

Source Link
SteveC81
  • 195
  • 11

Using Expressions to underline part of a label

I am using QGIS (sadly only 2.8) and I have a label on my dataset. It currently looks like this:

    "MP_Lookup_Constituency" || '\n' ||  "MP_Lookup_Name" +' ('+"MP_Lookup_Party"+')'

The Constituency appears above the rest of the text, but I'd like to (not sure if possible) just underline this part of the label. So the Constituency is underlined, but the rest isn't. I've tinkered with different things, but no joy, so any help would be amazing!

Thanks

Steve