Skip to content

Commit

Permalink
Add 'Stepped Line' and 'Hollow' styles to QgsLayoutItemScaleBar::setS…
Browse files Browse the repository at this point in the history
…tyle() docs
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Feb 3, 2022
1 parent 3226e30 commit ed9bb49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ Sets the scale bar style by ``name``.

The ``name`` parameter gives the (untranslated) style name.
Possibilities are: 'Single Box', 'Double Box', 'Line Ticks Middle',
'Line Ticks Down', 'Line Ticks Up', 'Numeric'
'Line Ticks Down', 'Line Ticks Up', 'Stepped Line', 'Hollow', 'Numeric'.

.. seealso:: :py:func:`style`
%End
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemscalebar.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ class CORE_EXPORT QgsLayoutItemScaleBar: public QgsLayoutItem
*
* The \a name parameter gives the (untranslated) style name.
* Possibilities are: 'Single Box', 'Double Box', 'Line Ticks Middle',
* 'Line Ticks Down', 'Line Ticks Up', 'Numeric'
* 'Line Ticks Down', 'Line Ticks Up', 'Stepped Line', 'Hollow', 'Numeric'.
*
* \see style()
*/
Expand Down

0 comments on commit ed9bb49

Please sign in to comment.