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

Replaced Checkbox with MUI Checkbox #89

Open
wants to merge 5 commits into
base: 80-update-widgets-to-use-mui-base
Choose a base branch
from

Conversation

NatLeung96
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

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

Looks good overall, I only had a few small comments that are quite similar to those on the ActionButton PR.

I did notice that the Checkbox doesn't seem to be located correctly in the page, it's setting some padding that makes it shift down and to the right of where it should be compared to Phoebus (see images - left is the size and position of the widget as defined in Phoebus, right shows how the padding is forcing the entire component including the label to be shifted)

Screenshot from 2025-03-31 08-50-38 Screenshot from 2025-03-31 08-50-47

Copy link
Collaborator

@abigailalexander abigailalexander 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 fixing those other items. Just the issue with the padding/sizing of the checkbox that I mentioned to you remaining. From what I saw when I looked into it:

  • Unneeded padding on the MUI Checkbox component itself
  • Unnecessary right-side margin on the MUI Form Control element
  • Some sort of size restriction that doesn't allow the Checkbox Icon to go small enough. It seems like it might be one of the MUI internal components that needs adjusting e.g. MuiCheckbox-root

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.

2 participants