... and the column button


\define columnicons()
<$list filter="[[$(columns)$]!regexp[2]]">
<<material looks_$(columns)$>>
</$list>
<$list filter="[[$(columns)$]regexp[2]]">
<<material looks_two>>
</$list>
\end
<$reveal state="$:/config/muuri!!column-count" type="nomatch" text="">
<$set name="columns" value={{$:/config/muuri!!column-count}}>
<$set name="nextValue" filter="[<columns>] +[next<currentTiddler>]">
<$button class="tc-btn-invisible tc-toolbar-icon" tooltip="toggle columns">
<$list filter="[<columns>!regexp[^4$]]">
<$action-setfield $tiddler="$:/config/muuri" $field="column-count" 
$value=<<nextValue>>/></$list>
<$list filter="[<columns>regexp[^4$]]">
<$action-setfield $tiddler="$:/config/muuri" $field="column-count" 
$value=""/>
</$list>@@font-size:0.7rem;float:right;<<columnicons>>@@</$button></$set></$set></$reveal>
<$reveal state="$:/config/muuri!!column-count" type="match" text="">
<$set name="columns" value={{$:/config/muuri!!column-count}}>
<$button class="tc-btn-invisible tc-toolbar-icon" tooltip="toggle columns">
<$action-setfield $tiddler="$:/config/muuri" $field="column-count" 
$value="2"/>@@font-size:0.7rem;float:right;<<material 
looks_one>>@@</$button>
</$set>
</$reveal>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a7c5d45-adf1-46a0-886a-d9528dc32c52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to