This is my code:
- Code: Select all
var button = canvas.gui.widgets.Button.new(aRoot, canvas.style, {} )
.setFixedSize(width, 25)
.setText(label);
It seems not, or at least not as it seemed natural to me, for example by entering this option:
- Code: Select all
.setColorBackground(1,1,1,0.8)
Which obviously doesn't work, otherwise I wouldn't have asked the question ...
Thanks for your collaboration