[MonoDevelop] PNG Images for creating own Monodevelop Stock Icons

TheWind777 TheWind777 at hotmail.com
Wed Jul 1 19:17:06 UTC 2015


That worked nicely.

After doing an 'Add->Add Files...' to all my images from the Project icon...
I then shift-clicked to select all the images under 'Properties',
right-clicked->Build Action selected EmbeddedResource.

After that, when I clicked on a button, clicked Properties tab->Button
Properties and set Button Type to 'Stock Image', then chose 'More', Project
Icons tab, Add and selected Multiple source icon, Adding the up image first,
then the down image, giving it a name and clicking OK... it no longer gave
me the Glib error.

However, it still doesn't snow the picture on the button. It shows the name
I gave the icon, instead.

There is the appropriate icon picture in the 'Project Icon's area; but it
just doesn't show the icon on the button.

Is there some exact size that the png has to be when I import it, or dpi
setting, in order that it will display on a button?
<http://mono.1490590.n4.nabble.com/file/n4666268/projecticons.jpg> 

I'm making a calculator, and am starting with just two images... the CA
button and the Zero button. The icon name for the zero key is key0 and the
icon name for the CA key is ca.

Under Project icons there is the proper red-colored CA button just like the
PNG file and under key0 in the Project Icons window it says key0 with a tiny
gray 0; all like it should be.

However, when I actually choose it for a button, all that shows on the
button is the icon name of 'key0' or 'ca' instead of a picture. When I
compile it, same thing.

What am I doing wrong?








--
View this message in context: http://mono.1490590.n4.nabble.com/PNG-Images-for-creating-own-Monodevelop-Stock-Icons-tp4666263p4666268.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list