Skip to content

Fixed UI issues: non-resizable window, grey background, white buttons (#1) #2

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

csanthoshkumarraju
Copy link

Description:

In Windows, Tkinter colors work fine, but on macOS, the background colors are overwritten by the system theme. Therefore, I used a canvas to avoid this issue.

This pull request addresses and fixes the UI issues described in Issue #1 of the repository.

Changes made:

Non-Resizable Window:

Resolved the issue where the window's height was fixed. Users can now resize the window vertically to suit different screen sizes and preferences.

**Code change: **

root.resizable(width=True, height=True)

Color Scheme and Button UI:

Improved the visibility of the calculator's buttons and background by adjusting the color scheme.
Implemented a more contrasting color scheme for better readability, using darker shades for buttons and background.

Expected Behavior:

The application window should now be resizable in both width and height.
Buttons and the background should have improved contrast for better visual appeal and readability.

Steps to Test:

Launch the calculator application.
Verify that the window can now be resized vertically.
Check the button color scheme and ensure readability and visual appeal have improved.

Light Mode Screenshot

Screenshot 2025-04-05 at 4 43 05 PM

Dark Mode Screenshot

Screenshot 2025-04-05 at 4 43 28 PM

Could you please review the pull request and approve or merge it?

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.

1 participant