forked from DynamoDS/Dynamo
-
Notifications
You must be signed in to change notification settings - Fork 1
HowTo: Load icon for class button
aosyatnik edited this page Sep 25, 2014
·
3 revisions
Consider the example of loading icon for Excel.
-
Go to src\Resources\
-
Find folder with your Project (if it's not presented create it). Note: name of folder is equal to . resx file, so it's easy to find appropriate file of resources.
- Go to folder SmallIcons
- Rename icon like NameOfClass.Small.png (Excel.Small.png)
-
Add to git like: $ git add C:/../Dynamo/scr/Resources/*.png
-
Open Project DynamoIcons.
- Choose appropriate file of resources and open it.
- Drag and drop your image here.
- Got to properties and change Persistence from "Linked at compile time" to "Embedded in .resx".
- Delete Resource folder.
- Rebuild DynamoIcons.
- Run Dynamo.