Skip to content
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

Open
cjmorningstar10 opened this issue May 30, 2023 · 2 comments
Open

Button Component works in python but not in javascript #571

cjmorningstar10 opened this issue May 30, 2023 · 2 comments

Comments

@cjmorningstar10
Copy link

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

@cjmorningstar10
Copy link
Author

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?

@cjmorningstar10
Copy link
Author

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.

@peircej peircej changed the title button works in python but not in javascript Button Component works in python but not in javascript Jul 24, 2023
@peircej peircej transferred this issue from psychopy/psychopy Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant