diff --git a/client_details.py b/client_details.py index 1c71d5d..42ec227 100644 --- a/client_details.py +++ b/client_details.py @@ -45,7 +45,7 @@ def create_details_page(app, software, backswitch_function): command=backswitch_function) back_button.pack(anchor="nw", side="left") progress_bar = software.progress_bar_wrapper.new(navbar) - progress_bar.pack(anchor="nw", side="left") + progress_bar.pack(anchor="nw", side="left", padx=20, pady=5) elements.append(navbar) elements.append(back_button) elements.append(progress_bar) diff --git a/pgwrapper.py b/pgwrapper.py index e38c32e..ecdc58b 100644 --- a/pgwrapper.py +++ b/pgwrapper.py @@ -9,7 +9,7 @@ class ProgressBarWrapper: self.progress_bar = None def new(self, tk_parent): - self.progress_bar = customtkinter.CTkProgressBar(tk_parent) + self.progress_bar = customtkinter.CTkProgressBar(tk_parent, height=20, width=200) self.progress_bar["maximum"] = 10000 self.progress_bar.set(0) return self.progress_bar @@ -18,4 +18,4 @@ class ProgressBarWrapper: if self.progress_bar: return self.progress_bar else: - raise AssertionError("No progress bar in this wrapper created") \ No newline at end of file + raise AssertionError("No progress bar in this wrapper created")