Skip to content

Commit

Permalink
Expand and collapse buttons added to Legend Items (#9197)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Aug 9, 2024
2 parents f2325ab + e32f2da commit 677e3e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ panel provides the following functionalities (see :numref:`figure_layout_legend_
order, group layers, remove and restore items in the list, edit layer names
and symbology and add a filter.

* Use the |expandTree| :sup:`Expand all` and |collapseTree| :sup:`Collapse all` buttons
to respectively expand or collapse all the groups and subgroups in the legend tree.
Ensure that the :guilabel:`Auto update` is unchecked to use these buttons.
* The item order can be changed using the |arrowUp| and |arrowDown| buttons or
with 'drag-and-drop' functionality. The order can not be changed for WMS
legend graphics.
Expand Down Expand Up @@ -320,6 +323,10 @@ and lines can be customized through this dialog.
:width: 1.5em
.. |checkbox| image:: /static/common/checkbox.png
:width: 1.3em
.. |collapseTree| image:: /static/common/mActionCollapseTree.png
:width: 1.5em
.. |expandTree| image:: /static/common/mActionExpandTree.png
:width: 1.5em
.. |expression| image:: /static/common/mIconExpression.png
:width: 1.5em
.. |expressionFilter| image:: /static/common/mIconExpressionFilter.png
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 677e3e7

Please sign in to comment.