So far after playing with your SDK, that is the only thing that I can?t accomplish that I require in order to become a paying customer.
Below are the two ways I have tried and it still always shows up on just one line. var label = new AR.Label(jsonObject.id + ": " + " : " + jsonObject.name,1.0, {offsetY : 21.0, triggers: { onClick: createClickTrigger(jsonObject.id)}, style : {textColor : '#FFC100',backgroundColor : '#FFFFFF80'}});
Does anyone look at these entries? I would REALLY appreciate an answer on this question. I know that I could do it by creating html boxes myself and populating them with the right information, but it would make my life a lot easier if I could just find out whether it is possible to have a multi-line label and how.
Steve Saxton
W
Wolfgang Damm
said
over 11 years ago
Currently this is not directly possible. A Label is by our definition a single line of text. We are working on solutions for the next version to have formatted multi line text. Right now I would suggest to split it manually the text into 2 lines, create 2 AR.Labels and use the offsetY property to position one label on top of the other.
D
Default
said
over 11 years ago
Thanks so much for the reply.
That is what I thought the answer would be. Now to move on to implementation.
Forum