CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

JQButton multiline caption

by ali » 28 Apr 2016 15:00

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
ali
 
Posts: 35
Joined: 26 May 2015 15:49

by Alexander Bulei » 28 Apr 2016 17:45

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ali » 29 Apr 2016 20:40

Thank you. With the wrap property It's working.
ali
 
Posts: 35
Joined: 26 May 2015 15:49


Return to JQButton & JQButtonSet

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.