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

Fixed JTextArea Bug on mac and updated buttons  #93

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jdrysdaleandesrson
Copy link

On macOS the JTextArea for the "text" was too wide and made it so the user could not see the numbers being inputed as they were off the frame. Also, updated button symbols with super scripts.

@pH-7
Copy link
Owner

pH-7 commented Apr 9, 2023

Thanks very much for this @jdrysdaleandesrson!
Could you share a screenshot of the new layout?

@jdrysdaleandesrson
Copy link
Author

This is how it looks like. No huge changes but it works now on mac without issues.

Screen Shot 2023-04-09 at 9 18 32 AM

butSquare = new JButton("x*x");
butOneDividedBy = new JButton("1/x");
butEqual = new JButton("=");
butSquareRoot = new JButton("<html>&#8730;x</html>");
Copy link
Owner

Choose a reason for hiding this comment

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

Could we avoid having html tags inside JButton…?
I wonder if there is any alternatives?

@pH-7
Copy link
Owner

pH-7 commented Aug 29, 2023

Hope you are keeping well! @jdrysdaleandesrson, I'm assigning you to your PR, so you can finish addressing the comment I've left 🙂

changed the html tags to unicode
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