You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @phillchill! Thanks for your interest in p5.gui + suggestion for improvement!
You can currently set the absolute position of the panel in the constructor like so:
createGui(label, x, y);
But I agree, something like setPosition would make sense in dynamic interfaces, or if the size of the window is not known on construction. It might be nice to add relative positioning though, maybe by using negative values for x and y ...
It would be nice to have methods to set the position of GUI panels. I checked
quicksettings.js
and it has such a method available.Would you agree this would make a nice addition?
If so I could try to find some time to implement and create a PR.
The text was updated successfully, but these errors were encountered: