-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing style xml only works for symbols #113
Comments
Thanks for reporting, @dude1756! I am not very familiar with that part of the code. Anyway, the documentation should be updated to describe current behaviour. And hopefully we will be able to support more aspects of styles some time in the future. |
Thanks for your quick response. Looking at the code, I think colorramps are implemented but not working in my case. A bug? |
It is very probable that this is a bug. |
I just created a test collection with a style-XML file containing only two colour ramps. After installing the collection using version 0.13.1 of the plugin, the colour ramps were available when clicking the "Color ramp" pulldown and choosing "All color ramps". Here is a screenshot of the style manager, where the colormaps (greens and spectral) show up under "Smart Groups" (!?). Are you experiencing a different behaviour, @dude1756 ? |
Hi again! PR #120 adds support for textformats and labelsettings. It would be great if you could download, install and test: Here is a screenshot of the style manager that shows that all the four style elements will now become available. |
Hey havatv, how cool is that - Thx. It's obviously working. In my case I have now 3 tags in the left panel, where 1st is empty, 2nd just contains symbols and 3rd all elements. Can you confirm that behaviour? |
@dude1756, as you can see from the screenshot above, I only have one tag for the collection. The behaviour you are observing indicates that there are tags there that are the result of previous collection installs. |
Ok, I've cleaned everything including cache and it works! Thanks a lot. |
Thanks again for reporting, @dude1756! |
Hi there,
I have created a style xml file in QGIS that includes following sections:
<symbols>
colorramps/>
<textformats/>
<labelsettings>
If I install this xml file via resourceSharing plugin this file is copied to that path:
%appdata%\QGIS\QGIS3\profiles\default\resource_sharing\collections\3121786cab29e00abe0c643c78fab504baafdfd0\symbol
However, when you look at QGIS style manager, only symbols are properly imported, none of the other styling settings (color, textformat, label).
Is there a way to achieve this?
Thanks!
The text was updated successfully, but these errors were encountered: