fixed complex example

This commit is contained in:
Tom Schimansky 2022-05-04 15:39:13 +02:00
parent 9ee5e3b7f2
commit 8c0f1d2c43

View File

@ -103,7 +103,7 @@ class CTkButton(CTkBaseClass):
self.draw() self.draw()
def draw(self, no_color_updates=False): def draw(self, no_color_updates=False):
print("current_height", self.current_height, "desired", self.desired_height) # print("current_height", self.current_height, "desired", self.desired_height)
requires_recoloring = self.draw_engine.draw_rounded_rect_with_border(self.apply_widget_scaling(self.current_width), requires_recoloring = self.draw_engine.draw_rounded_rect_with_border(self.apply_widget_scaling(self.current_width),
self.apply_widget_scaling(self.current_height), self.apply_widget_scaling(self.current_height),
self.apply_widget_scaling(self.corner_radius), self.apply_widget_scaling(self.corner_radius),