EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
327 stars 96 forks source link

Vcl.BaseImageCollection is automatically included in FMX applications #167

Closed dkounal closed 3 years ago

dkounal commented 3 years ago

I noticed that when saving an FMX application with a TSVGIconImageCollection the unit Vcl.BaseImageCollection is automatically included in the uses clause. Does TSVGIconImageCollection work with FMX?

carloBarazzetta commented 3 years ago

No, for FMX you must use only the TSVGIconImageList component like in SVGIconImageListDemoFMX (in demo folder). The structure of an FMX ImageList in different from the vcl that uses an ImageCollection and a VirtualImageList: look at properties Source and Destination as explained here: https://github.com/EtheaDev/SVGIconImageList/wiki/Component-Editor-(FMX)

dkounal commented 3 years ago

Thank you very much. It is OK now