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

fixes issue #7366: Adjust Option Orientation in CreateRadio() reference. #7367

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

Prajyot05
Copy link
Contributor

Resolves #7366

Changes:
Added styling to the radio, hence aligning them one below the other.

Screenshots of the change:
Screenshot 2024-11-08 at 5 10 49 PM

PR Checklist

Copy link

welcome bot commented Nov 8, 2024

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@Prajyot05
Copy link
Contributor Author

is this change appropriate?

@perminder-17
Copy link
Contributor

Thanks @Prajyot05 for your work on this. @devesh-2002, Do you want to review this code, since you were interested in solving this issue and it was assigned to you previously.

@Prajyot05
Copy link
Contributor Author

@perminder-17 are any changes required or should I raise a PR?

@perminder-17 perminder-17 self-requested a review November 12, 2024 06:14
@Prajyot05
Copy link
Contributor Author

@perminder-17 any updates?

@perminder-17
Copy link
Contributor

@perminder-17 any updates?

I'll review it today. Thanks for your work and your patience. Been really busy this week. So sorry for the delay.

@Prajyot05
Copy link
Contributor Author

@perminder-17 No problem sir, I hope I can help solve the issue

src/dom/dom.js Outdated Show resolved Hide resolved
src/dom/dom.js Outdated
@@ -1535,9 +1548,10 @@ p5.prototype.createSelect = function(...args) {
* createCanvas(100, 100);
*
* // Create a radio button element and place it
* // in the top-left corner.
* // in the top-right corner.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here as well, it should be top-left corner.

@Prajyot05
Copy link
Contributor Author

Prajyot05 commented Nov 18, 2024

oh ok, I thought that was the position of the radio button. I'll fix that, are the rest of the changes fine?

Copy link
Contributor

@perminder-17 perminder-17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your patience and your work. Looks good to me. Could you please make this PR ready for the review by removing it from "draft".

@Prajyot05
Copy link
Contributor Author

@perminder-17 thanks, sure I'll make it PR ready.

@Prajyot05 Prajyot05 marked this pull request as ready for review November 19, 2024 07:22
@Prajyot05
Copy link
Contributor Author

Prajyot05 commented Nov 21, 2024

@davepagurek are there any changes I need to make?

@Prajyot05
Copy link
Contributor Author

@perminder-17 any updates on this?

@davepagurek
Copy link
Contributor

I think this is good for now! Ideally there would be a way to do this without having to create a custom style tag like this, but it does seem like maybe the best option currently. Maybe worth making a new issue to make the default behaviour nicer?

@davepagurek davepagurek merged commit bf41e90 into processing:main Nov 25, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

Adjust Option Orientation in CreateRadio() reference.
3 participants