Timeline for Styling border to match fill in QGIS?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 5, 2018 at 17:57 | comment | added | csk | Update for QGIS 3.0: "border color" is now called "stroke color." | |
May 24, 2017 at 14:51 | comment | added | JohnR | @RutgerH I was able to get this to work on 2.18.0, but there have been minor styling changes since my initial answer. If you follow the directions and look for "Outline" instead of "Border", you should come to the same conclusion. | |
May 24, 2017 at 14:35 | comment | added | RutgerH | Cannot find certain option in version 2.18, I am able to create a new symbol but cannot set line properties | |
Jan 18, 2017 at 20:19 | comment | added | csk | Stylistically, I like a polygon border that is a slightly darker shade of the fill color. I achieved this by defining the border color expression as: darker(@symbol_color, 200). | |
Apr 28, 2016 at 16:11 | vote | accept | Kingfisher | ||
Apr 27, 2016 at 13:47 | comment | added | JohnR | I installed 2.8 and tinkered with it a while. It looks like you'll need to upgrade to 2.14 if the @color_symbol function is super important, there just isn't a built in equivalent in 2.8. | |
Apr 26, 2016 at 14:43 | comment | added | Kingfisher | I'm not finding it in the above location. It must be called something else on 2.8.6, as JohnR stated. I will look for the alternate function. | |
Apr 26, 2016 at 13:16 | comment | added | JohnR | Or you may just have to find the equivalent expression if you're using a different version. | |
Apr 26, 2016 at 13:07 | comment | added | JohnR | I wouldn't expect it to differ too much based on OS. If you are typing @symbol_color into the expression, perhaps instead try to input it by double-clicking the symbol_color entry in the middle column of the Expression string builder. | |
Apr 26, 2016 at 12:11 | comment | added | Kingfisher | I am having difficulty getting the @symbol_color border expression to work. Could it be because I am using Windows? I ask because it appears like you are using Mac. | |
Apr 25, 2016 at 20:17 | comment | added | JohnR | Great to hear, Steven! Setting it as a default style would be more to help not have to set it again on any new polygons in the project, but like you said, you don't necessarily have to do that. | |
Apr 25, 2016 at 19:55 | comment | added | Steven Kay | nice one - just tried this with an existing classified polygon layer and it worked - didn't need to set up a default style either (qgis 2.14.1) | |
Apr 25, 2016 at 17:57 | history | edited | JohnR | CC BY-SA 3.0 |
Added final piece specifying to set the custom style as the default.
|
Apr 25, 2016 at 17:46 | history | answered | JohnR | CC BY-SA 3.0 |