Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread 2.04 Breaking Changes
Wed, Dec 30 2015 8:23 AMPermanent Link

Uli Becker

As of the release.html:

<<
A FontIcon element was added as a child element of all Icon elements in
any applicable control interfaces in order to implement icon font support.
>>

Does that mean that all related (customized) interfaces have to be
recreated? TIconLibrary e.g.?

Uli
Wed, Dec 30 2015 11:40 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< Does that mean that all related (customized) interfaces have to be recreated? TIconLibrary e.g.? >>

You can keep using the old interfaces but:

1) You won't get the benefit of any of the new icon font capabilities.

2) Some of the functionality in some of the icon-specific controls may not work correctly.  For example, the FontIcon properties in the TIcon control won't do anything at all.

The main change was exactly as described:  you have to add an element called FontIcon to every Icon element used in the component library's control interfaces (including the TIconLibrary interface), and its properties have to be set to match what is used in the control interfaces shipped with EWB 2.04.

There really was no other way to use an icon font for icons without *getting rid of* the old way that used the background images, which is something I did not want to do because it would completely break existing control interfaces, as opposed to making everything backward-compatible.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 31 2015 2:43 AMPermanent Link

Uli Becker

Tim,

> you have to add an element called FontIcon to every Icon element used in the component library's control interfaces (including the TIconLibrary interface), and its properties have to be set to match what is used in the control interfaces shipped with EWB 2.04.

OK, understood. I'll try to do that by hacking the JSON files. Shouldn't
be too difficult.

I wish you, Sam and everybody here a Happy New Year! Thanks for your
fantastic work and the great support here in the newsgroup.

Uli

Thu, Dec 31 2015 10:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< OK, understood. I'll try to do that by hacking the JSON files. Shouldn't be too difficult. >>

A global search on "Icon", followed by a paste of the "FontIcon" element underneath it, should work.

<< I wish you, Sam and everybody here a Happy New Year! Thanks for your fantastic work and the great support here in the newsgroup. >>

Thanks very much. Smile Have a great new year !

Tim Young
Elevate Software
www.elevatesoft.com
Image