Feature request #15896

Custom dash for polygon fill borders, or fix thing where categorised Simple Line loses its black colour

Added by Steve Lowman about 6 years ago. Updated about 5 years ago.

Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No Copied to github as #:23814


Because the dashed line border in a polygon fill style does not work well at certain scales, but it cannot be given a custom dash pattern, I often instead give it No Pen on the border and instead add an Outline: Simple Line with black colour and custom dash.

Then I categorise the style with different colour fills, but it gives the same colours to my custom-dashed Simple Line. To remedy this, I have to amend the line colour on each category separately. If I then change the fill style for the layer, I again lose my black colour on the Simple Line and again have to amend this for each category. I can do a work around with a saved qml file in Notepad++, using Find on the relevant lines of xml and manually changing the colour values for each category, then reloading the style, but even that way is a faff.

Therefore, I would like to request either to be able to put a custom dash on a fill border, or to make it leave the Outline: Simple Line colour alone when I change the Fill Style for the categorised layer, so it categorises only the fills, not the simple line. If possible, this would be great in the current LTR, or otherwise a future one.


#1 Updated by Nyall Dawson about 6 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

That's already possible - you need to click the 'lock' icon on the simple line symbol layer. This will prevent the line color from changing between the classes.

#2 Updated by Jürgen Fischer about 5 years ago

  • Category set to Unknown

Also available in: Atom PDF