gZany
button.addComponent("text","Solve");
some people want textless buttons, so it is pointless to add them by default
also make sure to try out
button.style.fill = 255;
button.hoverStyle.fill = 200;
button.clickStyle.fill = 150;
button.onclick = function(){
console.log("Button pressed!");
}
I will be glad to help when it comes to FGUI since I don't have an official documentation for it yet. I also hate writing documentation (though I probably should do it more often) so I don't plan on doing it in the foreseeable future.