fixed scaling

This commit is contained in:
Tom Schimansky
2022-05-01 23:38:02 +02:00
parent cb12711b5c
commit e0eebac62c
3 changed files with 4 additions and 7 deletions

View File

@ -27,6 +27,8 @@ class CTkBaseClass(tkinter.Frame):
self.widget_scaling = ScalingTracker.get_widget_scaling(self)
self.spacing_scaling = ScalingTracker.get_spacing_scaling(self)
super().configure(width=self.apply_widget_scaling(self.desired_width), height=self.apply_widget_scaling(self.desired_height))
# save latest geometry function and kwargs
class GeometryCallDict(TypedDict):
function: Callable