From d167afa199a70618b197d8105ff1e98e8dbdcae1 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 16 Sep 2025 15:33:52 +0200 Subject: [PATCH] Add `accordion` and `details` search keywords to FoldableContainer "accordion" is the term given in frameworks like Bootstrap, while "details" is the name of the HTML tag that implements similar functionality. This also tweaks the description to have fewer paragraphs. --- doc/classes/FoldableContainer.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/classes/FoldableContainer.xml b/doc/classes/FoldableContainer.xml index ae200d8c5a9..7fd1de30093 100644 --- a/doc/classes/FoldableContainer.xml +++ b/doc/classes/FoldableContainer.xml @@ -1,14 +1,12 @@ - + A container that can be expanded/collapsed. - A container that can be expanded/collapsed, with a title that can be filled with controls, such as buttons. - The title can be positioned at the top or bottom of the container. - The container can be expanded or collapsed by clicking the title or by pressing [code]ui_accept[/code] when focused. - Child control nodes are hidden when the container is collapsed. Ignores non-control children. - Can allow grouping with other FoldableContainers, check [member foldable_group] and [FoldableGroup]. + A container that can be expanded/collapsed, with a title that can be filled with controls, such as buttons. This is also called an accordion. + The title can be positioned at the top or bottom of the container. The container can be expanded or collapsed by clicking the title or by pressing [code]ui_accept[/code] when focused. Child control nodes are hidden when the container is collapsed. Ignores non-control children. + A FoldableContainer can be grouped with other FoldableContainers so that only one of them can be opened at a time; see [member foldable_group] and [FoldableGroup].