mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 19:09:57 +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.
25 lines
806 B
Plaintext
25 lines
806 B
Plaintext
title: $:/core/ui/ControlPanel/Toolbars/PageControls
|
|
tags: $:/tags/ControlPanel/Toolbars
|
|
caption: {{$:/language/ControlPanel/Toolbars/PageControls/Caption}}
|
|
|
|
\define lingo-base() $:/language/TiddlerInfo/
|
|
\define config-title()
|
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
|
\end
|
|
|
|
{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}
|
|
|
|
<$set name="tv-config-toolbar-icons" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-text" value="yes">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
|
|
|
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i>
|
|
|
|
</$list>
|
|
|
|
</$set>
|
|
|
|
</$set>
|