In case when you want to place both, the icon and the text within the pushbutton - e.g. icon on left side and text on the right, so you can see how it looks - if there is enough space.
Especially I have created icons like a boarder around the text.
This is a great utility and I am using it extensively. Thank you.
I observed that I can *right* click one of the top five pushbuttons and choose "set string" option. When I do so, it sets a string in the pushbutton. What's the purpose of that? When I export icons after writing those strings, the string has no effect on the icon.
thanks for this helpful code,actually in my project I need both undo/redo methods and thanks god I find this code for undo but remains the redo problem and I try to edit this code to use it for redo but until now I didn't find any thing to help me I think it will be the same code accept changing the method delete(g(i)) with another method that makes a reverse work so if you can help me please please as soon as possible .
hint:in my project I don't have GUI instead I have my own interface and everything depends on image processing so I can't use uiundo method built in matlab.