Hey there. After I was reading a tutorial how to change the default GUI images, I was trying out on that. But when I wanted to try out on buttons, I got the following fail. Idk if its with more GUI tools.
The text of the GUI button isn´t centered anymore. It´s aligned left now.
Here is a small screenshot:
When I use the default GUI style, everything works fine. Here´s the script part:
PHP Code:
new GuiButtonCtrl("TestDesignButton") {
useOwnProfile = true;
profile.bitmap = "callimuc_guibutton-profile.png";
//even tried profile.bitmap = "callimuc_guibutton-profile"; also shows the image but also with the fail
profile.fontSize = 12;
profile.fontStyle = "b";
profile.fontType = "Arial";
x = 6;
y = 130;
position = {6, 130};
extent = {88, 20};
text = "Load";
}