Bug report #10685
wrong segment size in composer scalebar left segments
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19083|
Left segments in print composer/scalebar have wrong segment size. Unfortunately quite visibly wrong. Tried from 2 to 8 segments and always with error.
QGIS 2.2 and 2.3.
[composer] Fix incorrect calculation of scale for tick scale bars
QPainter::drawLine(x1,y1,x2,y2) takes int values, so coordinates
were being rounded to the nearest mm. Consequently scale was way
off. Also fixes horizontal line for tick styles being drawn
incorrectly with multiple overlapping segments. (fix #10685)