-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
base: master
Are you sure you want to change the base?
Conversation
Thanks very much for this @jdrysdaleandesrson! |
src/simplejavacalculator/UI.java
Outdated
butSquare = new JButton("x*x"); | ||
butOneDividedBy = new JButton("1/x"); | ||
butEqual = new JButton("="); | ||
butSquareRoot = new JButton("<html>√x</html>"); |
There was a problem hiding this comment.
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?
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
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.