replace the button with this:
\define columnicons()
<$list filter="[[$(columns)$]!regexp[^2$]!regexp[^1$]]">
<<material looks_$(columns)$>>
</$list>
<$list filter="[[$(columns)$]regexp[^2$]]">
<<material looks_two>>
</$list>
<$list filter="[[$(columns)$]regexp[^1$]]">
<<material looks_one>>
</$list>
\end
<$set name="columns" value={{$:/config/muuri!!column-count}}>
<$set name="nextValue" filter="[<columns>]
+[next[$:/plugins/BTC/tiddly-touch/Buttons/toggle-columns]]">
<$button class="tc-btn-invisible tc-toolbar-icon" tooltip="toggle columns">
<$list filter="[<columns>!regexp[^6$]]">
<$action-setfield $tiddler="$:/config/muuri" $field="column-count"
$value=<<nextValue>>/></$list>
<$list filter="[<columns>regexp[^6$]]">
<$action-setfield $tiddler="$:/config/muuri" $field="column-count"
$value="1"/>
</$list>@@font-size:0.7rem;float:right;<<columnicons>>@@</$button></$set></$set>
*and put in the list field: 1 2 3 4 5 6*
then you'll have 6 columns to cycle through and 1 works as expected
Am Freitag, 29. Dezember 2017 21:18:05 UTC+1 schrieb Jed Carty:
>
> I really like the interface you have set up. The only thing I have found
> that doesn't work the way I expect is changing the number of columns to 1
> doesn't do anything. Changing to any other number works nicely.
>
--
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 post to this group, send email to [email protected].
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/76433893-bac6-4fbb-9bcc-66adc4d2faf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.