i need some help in making a custom button. so far the only way i have figured to work is using GuiBitmapButtonCtrl. if there is another way please tell me (like a different function or anything really). if not then does the image need to be a certain size or something? like if it needs to be 32x32. is it also possible to resize it? like i would using parth partx etc for other GUI images.
here is my current attempt. (it's halved)
PHP Code:
new GuiBitmapButtonCtrl("Button_Test") {
extent = {
100, 100
};
position = {
10, 10
};
normalbitmap = "c_inventorytest6-13-2013.png";
mouseoverbitmap = "c_inventorytest6-13-2013.png";
pressedbitmap = "c_inventorytest6-13-2013.png";
text = "Press me!";
}
i'm just not sure if there is more that i can do and i just haven't found it yet..or if that's just about it. thanks for any help