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

Alarm Clock: application geometry size not fit all widgets #785

Open
tcfh2016 opened this issue Aug 13, 2024 · 1 comment · May be fixed by #786
Open

Alarm Clock: application geometry size not fit all widgets #785

tcfh2016 opened this issue Aug 13, 2024 · 1 comment · May be fixed by #786
Assignees

Comments

@tcfh2016
Copy link

Issue Statement

When I run alarm_clock.py in my workstation and I got this below application window, which seems good but not right, as there was no "Stop Alarm" button displayed in this window:

image

Actually the "Stop Alarm" button has been defined at line#220 in source code:

button = Button(root, text="Stop Alarm", bg="red", fg="white", command=stop_alarm).pack(
pady=30
)

Project address: https://github.com/Mrinank-Bhowmick/python-beginner-projects/tree/main/projects/Alarm%20Clock

Solution Description

The root cause for this issue was the window size is too small to display all widgets:

root.geometry("500x250")

Change the size from "500x250" to "500x300" can fix this issue:

image

Options for Fix

If issue/solution can be confirmed I can fix it, or someone else can be assigned to do the fix. @Mrinank-Bhowmick

@Mrinank-Bhowmick
Copy link
Owner

Sure fix it 👍

tcfh2016 added a commit to tcfh2016/python-beginner-projects that referenced this issue Aug 20, 2024
Alarm Clock: application geometry size not fit all widgets Mrinank-Bhowmick#785
@tcfh2016 tcfh2016 linked a pull request Aug 20, 2024 that will close this issue
7 tasks
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 a pull request may close this issue.

2 participants