Can buttons be displayed side by side?

74 views
Skip to first unread message

ReneY

unread,
Jun 22, 2018, 7:26:23 AM6/22/18
to TiddlyWiki
I have discovered buttons - naturally, I am putting them everywhere! :D

So just for aesthetics (and to save space too), is there a low-to-moderate-difficulty way to display multiple buttons side by side, rather than vertically stacked?

Many thanks in advance for any help/suggestions!

TonyM

unread,
Jun 22, 2018, 8:27:28 AM6/22/18
to TiddlyWiki
Rene,

Removing un nessasary new line characters from between each button reference should be enought.

If not past an example where you have them together.

regards
Tony

Jed Carty

unread,
Jun 22, 2018, 8:27:33 AM6/22/18
to TiddlyWiki
You just don't put two line breaks between them.

<$button>Button 1</$button><$button>Button 2</$button>


or 

<$button>Button 1</$button>
<$button>Button 2</$button>



but

<$button>Button 1</$button>


<$button>Button 2</$button>


will stack them vertically.

ReneY

unread,
Jun 22, 2018, 10:34:17 AM6/22/18
to TiddlyWiki
Thank you very much Tony and Jed!  Also, I now feel like a total airhead knowing the solution was something that simple / obvious.  Thank you for glossing over that fact in your answers :rofl:

- Rene

(in my own defense, i was on my way out of the office when i wrote that and just tossed it on the forums hoping for an answer when i got back - it didnt even occur to me it was something so simple!)

Jed Carty

unread,
Jun 22, 2018, 12:47:13 PM6/22/18
to TiddlyWiki
It is simple but not obvious. Most of the rest of wikitext follows html syntax but more than one line break adds a <p> element in wikitext and it is unexpected if you don't know about it.
Reply all
Reply to author
Forward
0 new messages