Alarm Clock: application geometry size not fit all widgets #785
Description
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:
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:
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