mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
a671e72706
It seems that there is a broader problem with the way that the button is embedded within the label of a checkbox; even on Chrome it meant that the checkbox active state was triggered when clicking on any of the buttons. The user experience was in any case confusing; it wasn’t obvious that clicking on the label to the right of the button would flick the checkbox. The solution takes the buttons and labels out of the checkbox label.
26 lines
741 B
Plaintext
26 lines
741 B
Plaintext
title: $:/core/ui/TiddlerInfo/Tools
|
|
tags: $:/tags/TiddlerInfo
|
|
caption: {{$:/language/TiddlerInfo/Tools/Caption}}
|
|
|
|
\define lingo-base() $:/language/TiddlerInfo/
|
|
\define config-title()
|
|
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|
\end
|
|
<$set name="tv-config-toolbar-icons" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-text" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-class" value="">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">
|
|
|
|
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i>
|
|
|
|
</$list>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|