[Qgis-user] Scalebar segments always go to 2 displayed on units change

Richard Duivenvoorde rdmailings at duif.net
Tue Aug 3 02:50:45 PDT 2021


On 8/3/21 11:32 AM, Andrea Giudiceandrea wrote:
> On Mon, 02 Aug 2021 16:57:01 -0700 Jeff Sonnentag wrote
> 
>> Anyway, in a Layout once you have Units set and Segments set to 4 (or anything other than 2) and then you change the Units to something else the number of Segments still says 4 in that option but the displayed Scalebar only shows 2 Segments.
> 
> Hi Jeff,
> when the scalebar unit is changed, then a default size (scale bar 1/5 of map item width) and a default number of segments for the left and the right part are applied to the scale bar.
> 
> Anyway, as you have reported, the two spinboxes displaying the number of segments of the scalebar are not properly updated when the scalebar unit is changed.
> 
> So please file a bug report, so somebody (myself too) can fix it.

I'm trying to fix it :-)

(indeed it seems we always go back to default values (probably to not end up in a cascade of changes...)), but only that defaults are not reflected in the item. Seems an easy fix.

Regards,

Richard Duivenvoorde



More information about the Qgis-user mailing list