Ok the action is working but the button is still showing up in the page
control area on the sidebar as a gray dash. Here's my code in the
"AddStudyButton" tiddler.
<$button class="studybutton">
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
@@fill:orange; {{$:/core/images/new-button}}@@
</$list>
<$list filter="[<tv-config-toolbar-text>match[yes]]">
<span class="tc-btn-text"><$text text="New Study"/></span>
</$list>
<$action-sendmessage $message="tm-new-tiddler" tags="study"
text={{AddStudyTemplate}}/>
</$button>
Note that I took out the class from button of "tc-btn-invisible" because a
space would appear in the page controls where the button was supposed to
be.
I replaced "tc-btn-invisible" with the class "studybutton" which is in my
TW global "Stylesheet".
.studybutton { color:orange; }
I don't understand why the button is rendering as a gray dash when my new
button image is the old $:core/images/new-button.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f199d4bf-9c98-4866-b008-9ff5c30b975c%40googlegroups.com.