-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button Component works in python but not in javascript #571
Comments
The main problem appears to be the height of the button. Changing the height in the "size" parameters does not appear to have any effect, so the box is not very high and the text for the button cannot be seen. Any workarounds? |
My workaround was a textbox component, a mouse component, and some code to detect when the mouse was clicked in the area of the box. This is the only way I could get it to work in the javascript. |
I face a same issue today. As you can see, the size of button box is not equivalent to the value [0.2 units, 0.2 units] I set. It supposes to be a square but appears as a rectangular. I have tried padding 0.08 units vertically (button 1) and set multiline to True (button 2). Both methods did not solve the problem. |
My experiment uses a clickable button to confirm consent. It works fine in the python version, but in the javascript version, the location of the button and its size are wrong. Using version 2023.1.2
The text was updated successfully, but these errors were encountered: