Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Issue with horizontal spacing of toogle todo button #57

Open
es-kha opened this issue Feb 26, 2021 · 0 comments
Open

Issue with horizontal spacing of toogle todo button #57

es-kha opened this issue Feb 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@es-kha
Copy link

es-kha commented Feb 26, 2021

Hello Nicolas,

The "toogle todo" button in tiddler toolbar has different horizontal spacing than other toolbar buttons.

This additional spacing is generated by some carriage return in $:/plugins/nico/projectify/ui/buttons/ToggleTodo

I propose the following modification of its content to fix it.
(Other solution may exist using the "\whitespace" pragma but I did not manage to get expected result.)

\define save-actions()
  <$action-sendmessage $message="tm-auto-save-wiki"/>
\end

<$list filter=<<py-is-todo>>><span class="py-toggle-todo-button">
<$checkbox tag="done" actions=<<save-actions>>> {{||$:/plugins/nico/projectify/ui/buttons/Checkbox}}</$checkbox></span>
</$list>

Best regards,

Eskha

@NicolasPetton NicolasPetton added the enhancement New feature or request label Mar 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants