fix: progress bar sizing

This commit is contained in:
2024-05-31 00:11:23 +02:00
parent 0bc86ba71e
commit 30b4b94d2e
2 changed files with 3 additions and 3 deletions

View File

@@ -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")
raise AssertionError("No progress bar in this wrapper created")