-
Notifications
You must be signed in to change notification settings - Fork 57
Component Editor (FMX)
You can set IconFontsImageList properties using the classic Delphi Object inspector, in combination with the collection editor and the Structure editor, but it's most simple to use the advanced Image Editor supplied: double-click to the component to open the component editor as you can do with any Delphi component.
In this figure you can see the advanced component editor for FMX version of IconFontsImageList:
At the top of the editor you can set the properties of your IconFontsImageList instance: the Size property is used only if you don't use the AutoResizeBitmap option.
AutoResizeBitmap option give to any components that required a bitmap of the Icon Font to get a perfect resized bitmap of the requested dimensions.
A big advantage when you use the component editor is that the Source and the Destination collections of the ImageList are always syncronized, one-by-one, so you can easily build your collection of icons, simply Adding/Insering or Deleting the icons in the editor.
At the center of the editor you can see a preview of the icons in the collection. Selecting an icon you can see the properties of the Source item and change it. When you change the IconName of the Source also the Destination acquire the same name.
You can also specify a different Font or Color on every single icon, so you can use different Fonts to build your icons.
Using the bottom panel named "IconBuilder" you can simply build icons from a range of values (in Hexadecimal) as you can see in the figure.