![]() On some operating systems (Windows XP for example) you'll also need to set the font name property of the control to 'Material Design Icons'. When adding icons to your project using the first option you can simply copy the icon character from the utility and paste it into the caption or text property of the control. ![]() This section will help you understand why you might choose either option. You can either choose to distribute the material design icons font along with your project, or you can select certain characters for use and embed them in your project as bitmap glyphs. When using this utility to view, extract, and add icons to your software projects you can choose from two different reuse options. Downloads and source code are available at bottom of this page. This utility works on all versions of Microsoft Windows, and Linux. This could be used for example to display a low battery icon right next to the text warning the user "Your battery is running low".Īlthough the examples and some source code provided on this page highlight the Free Pascal and the Lazarus, this utility can be used in cooperation with any text, code, or user interface editor. This allows you to easily dynamically alter the icons and text in your user interface based on some state within your program. In situations where you are using text and icons together, you can also concatenate them together using any of your string functions. When the icon as text is encountered the operating system will render the icon inline with your other text. On most platforms (Windows XP being the exception) you can mix both regular latin text and icons together on the same line. You can then scale the icons by altering your font size for the particular element you want to use as an icon. When copying icons into your project you can often paste them as plain text directly into your source code.
0 Comments
Leave a Reply. |