[Doc] Try to fix some markdown, themes.

seems fine in editor, not fine rendered in website.
This commit is contained in:
Dave Davenport 2023-01-25 23:00:30 +01:00
parent 7a1eb91329
commit b96b28ebde
2 changed files with 27 additions and 12 deletions

View File

@ -1600,16 +1600,29 @@ hitting accept will activate the first entry.
.PP
The listview widget is special container widget.
It has the following children:
* 0 or more \fB\fCelement\fR widgets of the type box.
* An optional \fB\fCscrollbar\fR widget. This can be enabled using
the scrollbar property.
.RS
.IP \(bu 2
0 or more \fB\fCelement\fR widgets of the type box.
.IP \(bu 2
An optional \fB\fCscrollbar\fR widget. This can be enabled using the scrollbar
property.
.RE
.PP
Each entry displayed by listview captured by a \fB\fCbox\fR called \fB\fCelement\fR\&. Each
\fB\fCelement\fR can contain the following special widgets:
* \fB\fCelement-icon\fR: An icon widget showing the icon associated to the entry.
* \fB\fCelement-text\fR: A textbox widget showing the text associated to the entry.
* \fB\fCelement-index\fR: A textbox widget that shows the shortcut keybinding number.
.RS
.IP \(bu 2
\fB\fCelement-icon\fR: An icon widget showing the icon associated to the entry.
.IP \(bu 2
\fB\fCelement-text\fR: A textbox widget showing the text associated to the entry.
.IP \(bu 2
\fB\fCelement-index\fR: A textbox widget that shows the shortcut keybinding number.
.RE
.PP
A child added with another name is seen as a \fB\fCbox\fR, this can be used to tweak

View File

@ -990,15 +990,17 @@ The following properties are currently supported:
The listview widget is special container widget.
It has the following children:
* 0 or more `element` widgets of the type box.
* An optional `scrollbar` widget. This can be enabled using
the scrollbar property.
* 0 or more `element` widgets of the type box.
* An optional `scrollbar` widget. This can be enabled using the scrollbar
property.
Each entry displayed by listview captured by a `box` called `element`. Each
`element` can contain the following special widgets:
* `element-icon`: An icon widget showing the icon associated to the entry.
* `element-text`: A textbox widget showing the text associated to the entry.
* `element-index`: A textbox widget that shows the shortcut keybinding number.
* `element-icon`: An icon widget showing the icon associated to the entry.
* `element-text`: A textbox widget showing the text associated to the entry.
* `element-index`: A textbox widget that shows the shortcut keybinding number.
A child added with another name is seen as a `box`, this can be used to tweak
how an entry looks to expand to available space.