Skip to content
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

Allow customisation of division and subdivision symbols as distinct from scalebar tick horizontal symbol #36222

Merged
merged 5 commits into from May 7, 2020

Conversation

nyalldawson
Copy link
Collaborator

Allows for styling division and subdivision symbols in a different
way compared with the horizontal line symbol in a tick scalebar

Sponsored by SLYR

Builds off the hard work done by @agiudiceandrea!

Because **maybe** someone will want subdivisions bigger than divisions,
and there's no need to artificially restrict their creativity!
…mbol

as distinct symbols vs the scalebar line symbol

Allows for styling division and subdivision symbols in a different
way compared with the horizontal line symbol in a tick scalebar

Sponsored by SLYR
@nyalldawson nyalldawson added Feature Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 6, 2020
@github-actions github-actions bot added this to the 3.14.0 milestone May 6, 2020
@agiudiceandrea
Copy link
Contributor

This is a big enhancement!

Just a note about removing the subdivisions tick height restriction: to properly handle the subdivisions tick height > segments tick height case, I think some changing should be made in how the BoxSize and the position of the horizontal bar are calculated, and how the polyline of the segments ticks is generated.
Otherwise...
image

@nyalldawson
Copy link
Collaborator Author

@agiudiceandrea

I wondered the same thing, but when testing found that you can handle this by adjusting the label distance manually, and that it seemed quite natural to do... I'd suggest we merge and to give it a test in practice and then determine if we want to automatically handle this situation in the scalebar layout code or not...

@nyalldawson nyalldawson merged commit 4117be9 into qgis:master May 7, 2020
@timlinux timlinux added Changelog Items that are queued to appear in the visual changelog - remove after harvesting and removed Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels May 22, 2020
@nyalldawson nyalldawson deleted the subdivisions branch June 9, 2020 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants