From 5acfd3882fd1a8cc7e7226a519f3e05854fbd947 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Mon, 4 Nov 2024 09:42:05 +0200 Subject: [PATCH] resizable window :) --- reader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reader.py b/reader.py index 9e95609..f30ae31 100644 --- a/reader.py +++ b/reader.py @@ -27,11 +27,12 @@ class PDFReader: # creating the window self.master = master # gives title to the main window + self.master.resizable(True, True) self.master.title('PDF Reader') # gives dimensions to main window # self.master.geometry('580x520+440+180') # this disables the minimize/maximize button on the main window - self.master.resizable(width = 0, height = 0) + # self.master.resizable(width = 0, height = 0) # loads the icon and adds it to the main window # self.master.iconbitmap(self.master, 'pdf_file_icon.ico')