Page 1 of 1

JQButton multiline caption

PostPosted: 28 Apr 2016 15:00
by ali
Hi,

Setting

JQButton.caption := 'Hello ' + #13 +#10 + 'world';

works on Firefox but displays a single line on Chrome AND IExplorer.

How can i do for having a multiline caption working on all the browsers?

Thank you

Re: JQButton multiline caption

PostPosted: 28 Apr 2016 17:45
by Alexander Bulei
Hi,

Use the HTML tag to break the line, with Wrap property.

delphi code
IWCGJQButton1.Caption:= 'Hello <br/> world';
IWCGJQButton1.JQButtonOptions.Wrap:= True;


Best Regards.

Re: JQButton multiline caption

PostPosted: 29 Apr 2016 20:40
by ali
Thank you. With the wrap property It's working.