Ticket Lister Wraping

Hello,

Why do you think my text is not wraping?

{

CALL:tlister.getTicketType('{TICKET TAG:TicketType}')}
<J>{ENTITY NAME:Table}</color><br/>
<J><size 12>{TICKET STATE:Course}<br/>TN:{TICKET NO}[<br/><block 0,0,0,0 #FFFFFFFF Center 50><color #FF000000><b>{TICKET TAG:PickupTime}</b></color></block>]</size></block>
<L><size 12><block 5,0,0,0 #01FFFFFF Left 225>
<J>U:{USER NAME} | {TICKET TAG:Person Count} Pers<br/>
{ORDERS}
<L></block></size>

[ORDERS GROUP|ORDER STATE:OCourse:0,1,2,3,4]
<C>****** {GROUP KEY} ******<br/>

[ORDERS]
<J>{QUANTITY}x {NAME}<br/>
{ORDER TAGS}

[ORDERS:Void]
<J><color #10FFFFFF>- {QUANTITY} {NAME}</color><br/>
{ORDER TAGS}

[ORDERS:Order Ready]
<J><color green>{QUANTITY}x {NAME}</color><br/>

[ORDERS:Delivered]
<J><color green>{QUANTITY}x {NAME}</color><br/>

[ORDERS:Preparing]
{CALL:tlister.getPostes('{ORDER STATE:Poste1}')}
<J>{QUANTITY}x [='{PORTION}' == 'Menu' ? 'M ':'']{NAME}
{ORDER TAGS}
<J></color></block><br/>

[ORDER TAGS]
-- Format for order tags
<L>   * {ORDER TAG NAME}<br/>

}

Your using Block tag and the actual widget size is not large enough to display all of it. block tag is forcing it to a specific format.

So with block tag the text cannot wrap?
I have try to make the block smaller but it still cut the line…

I’ve added wrap setting for blocks for next version (5.1.54). You’ll be able to use it like

<block 5,0,0,0 #01FFFFFF Left 225 wrap>
3 Likes