Product Button Name Wrapping

Hello @emre

I would like to request an addition to the wrapping feature. I believe it was a wonderful addition but looking at the image below I see we have some Good & Bad outcomes.

It is possible to take an average of the character count and try to fit the Product Name using the default font over 2-3 lines? [Automatic but unpredictable results]

Or per menu have a setting average char count per line? Therefore if a setting of 9-10 was used most Product names above would conform to 2-3 lines. [1 setting entry per menu]

I know the variations could be hard to code so I would be happy with maybe another approach - the use of "_" underscore which becomes hidden on display but is used to instruct that the two words must be kept on the same line? [Hand Code each product name line]

Therefore "Four_in_the_Hand Barossa Shiraz" will output as:
Four in the Hand
Barossa
Shiraz

[EDIT]
I see Option 3 is best handled already by turning Wrap Off and using '\r' in the alternate header line.

I feel using any HTML or other method here is not user friendly and I do anticipate Users/Managers to be able to enter and modify products.

Your comments are welcome.
I feel maybe the combination of Option 1 and Option 3 will allow for any possibility.

or what about allowing \r to make your own wrapping?

EDIT: I see you already noted that, I didn’t think it was possible anyway lol

Matt

Can you PM me a backup?

1 Like

Thank you for backup. I added a small feature for auto wrap text. It will wrap text to 2 lines from middle if you don’t add\r or <br/> into the caption. I know this is not what you’ve asked for but I believe it will improve things a lot. That is how auto wrap should work on next update.

3 Likes

Nice @emre, very nice!

It may be a little feature but will make explaining to the User how to add new Stock Items & Menu a lot easier as in most cases their is nothing to do!
Thank you.

PS: My current Menu using "\r" and no Wrap looks identical to this above lol! :smile: As I am testing everything on a 10" Tablet right now - FONT and READABILITY is everything.