Feature request #8995
[composer] Size of scale bar bloated (problem for Atlas, LizMap, QWC)
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||17652|
If a scale is correctly defined, then the scale of the map is changed (as it happens e.g. for Atlas printing at varying scales, or in web printing), the number of segment of the bar is kept constant, resulting in a scale bar that can be either too big, exceeding the size of the page, or too small.
#1 Updated by Werner Macho over 6 years ago
I can see what you mean .. And I can imagine where the problem is ..
But AFAIK QGIS is working fine with Scalebars..
If you change the Scale - the scalebar changes its size to stick to the scale you have set in the map and the properties of the scalebar itself..
(the item properties of the scale bar include the settings for the number of segments left and right.. and therefore must stay constant)
In conclusion I would not see it as a bug but more as a feature enhancement that the scalebar has to be treated in a special way if the scale of the map changes automatically within using for e.g. Atlas..
I hope that is what you meant..
#2 Updated by Paolo Cavallini over 6 years ago
Yes: I think one should be able to specify the size of the scale bar on the page, and the number of segments should be recalculated accordingly.
This could be an enhancement; having the scale bar extending outside the page, however, may be seen as a bug.
So, classification uncertain. Thanks for comments.