Hi, i’m using this gui for my project but i’m having some problmes with it, i need to trasform the text area into a label in order to meke it uneditable but i can’t find the method to do so. I alrdy tried readonly() but it isn’t working for me, someone has some advice for me? tnx
Try disable()
.
var data = {x: 0.5, label:'cannot be edited'};
var gui = new lil.GUI();
gui.add( data, 'x', 0, 1 );
gui.add( data, 'label' ).disable();
1 Like
Just arrived in the office and i’ve alredy tried it, it works.
Thank you so much
1 Like