Can anyone help me with this?
Thanks
Tom
-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
I have a vector layer, labelled, with a buffer on the label. I repeatedly run
the following script:
labelling = iface.activeLayer().labeling()
palyr = labelling.settings()
buffer = palyr.format().buffer().enabled()
if buffer:
print("buffer")
else:
print("no buffer")
Here's the output:
Hello all
This seems a little odd on QGIS 3.0.2 Win7x64. I am trying to determine
whether a layer's labels have a buffer enabled:
This seems to work intermittently on repetiton. Am I getting something
wrong, or has anyone else seen this behaviour?
Thanks
Tom
-
Buy Pie Spy: Adventures