Ticket Lister Line Wrapping? <Wxy:c> support?

Let’s say I have this Ticket:

And I have this Pretty Ticket Lister (PTL :tm: @RickH, but modified to include {NOTE}).

I want the NOTE section to wrap instead of being truncated - is there a way to do this?

This is the Format Template for the Ticket Lister:

<J><font calibri><block 1,0,0,0 #5ffffff center 100><color #AA00FF00><size 16>{ENTITY NAME:Tables}<br/><color #FFFFDD00>{ENTITY NAME:Customers}</color></size> </color></block></font>
<L><size 11><block 8,15,0,0>
{ORDERS}
<L></block></size>
<J><font calibri><block 1,0,0,0 #5ffffff center 90><color #FF999999><size 14>{TICKET QUANTITY SUM} <br/>items</size></color></block></font>
<R><font calibri><block 1,0,0,0 #5ffffff center 120><color #FFF79646>{TICKET TOTAL} </color></block></font>
<L><block 1,0,0,0 #5ffffff left *><font calibri><color #FF55BBFF><size 16>{NOTE}</size> </color></font></block>

[ORDERS]
<J>  [=('{QUANTITY}x' + "    ").substring(0, 4)] {NAME}|{TOTAL AMOUNT}<br/>

try <block 1,0,0,0 #5ffffff left * wrap>

1 Like

Perfect, thanks @emre

<L><block 1,0,0,0 #5ffffff left 410 wrap><font calibri><color #FF55BBFF><size 16>{NOTE}</size></color></font></block>

1 Like

I rebuilt this since I restored a DB backup, but now for som reason my Orders are not justified properly. Can’t figure out why…

<J><font calibri><block 1,0,0,0 #5ffffff center 100><color #AA00FF00><size 16>{ENTITY NAME:Tables}<br/><color #FFFFDD00>{ENTITY NAME:Customers}</color></size> </color></block></font>
<L><size 14><block 8,15,0,0>
{ORDERS}
<L></block></size>
<J><font calibri><block 1,0,0,0 #5ffffff center 90><color #FF999999><size 14>{TICKET QUANTITY SUM} <br/>items</size></color></block></font>
<R><font calibri><block 1,0,0,0 #5ffffff center 120><color #FFF79646>{TICKET TOTAL} </color></block></font>
<L><block 1,0,0,0 #5ffffff left 410 wrap><font calibri><color #FF55BBFF><size 16>{NOTE}</size></color></font></block>

[ORDERS]
<J>  [=('{QUANTITY}x' + "    ").substring(0, 4)] {NAME} | {TOTAL AMOUNT}<br/>

LOL, it was because of the Font selection I guess not using a fixed-width font.

P.S. @emre, when I re-open the Settings for that Widget, the Font Name is always empty, even though the Widget does seem to obey the last selected font.