where are the checkbox images used by the checkbox widget?

58 views
Skip to first unread message

steve

unread,
Feb 27, 2020, 12:11:39 PM2/27/20
to TiddlyWiki
Hi

I looked in core (specifically in $:/core/images/) for the checkbox images used by the checkbox widget (see below) but could not find an image with checkbox in the title. Where should I be looking for these?


Thanks
Steve W

Eric Shulman

unread,
Feb 27, 2020, 12:19:39 PM2/27/20
to TiddlyWiki
On Thursday, February 27, 2020 at 9:11:39 AM UTC-8, steve wrote:
I looked in core (specifically in $:/core/images/) for the checkbox images used by the checkbox widget (see below) but could not find an image with checkbox in the title. Where should I be looking for these?

The $checkbox widget doesn't use "images" to render the checkboxes.  It uses actual <input type="checkbox"> HTML. Thus, the appearance of the checkboxes are based on your specific browser and platform.

-e

steve

unread,
Feb 27, 2020, 12:42:40 PM2/27/20
to tiddl...@googlegroups.com
Hi Eric

I'll look into using <input type="checkbox"> instead of images in the toggle-in-field macro suggested by Mat from another thread (https://groups.google.com/forum/#!topic/TiddlyWiki/O5Mg0naxHl4) about using checkboxes to add/delete items in a field.

Thanks
Steve W

Mat

unread,
Feb 29, 2020, 5:43:55 AM2/29/20
to TiddlyWiki
Steve, as you might have noted by now, the toggle-in-field macro doesn't actually use checkboxes but buttons with mere images of checkboxes. But, the CheckBoxWidget has since been updated so it may be possible to remake the toggle-in-field macro to only target a single tag in the tags field which was not possible before. Then you will not need the images, I'd assume, and it would be a better solution.

<:-)


Reply all
Reply to author
Forward
0 new messages