mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 06:51:36 +01:00
fix: progress bar sizing
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user