From 7f127b73ee156c3e478005441acaed7504828927 Mon Sep 17 00:00:00 2001 From: ElectricCandlelight Date: Thu, 2 Mar 2023 22:42:28 +0000 Subject: [PATCH] Scaling error after deleting dropdown Fixes #1304 --- .../windows/widgets/core_widget_classes/dropdown_menu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/customtkinter/windows/widgets/core_widget_classes/dropdown_menu.py b/customtkinter/windows/widgets/core_widget_classes/dropdown_menu.py index a6b8186..6c0cce1 100644 --- a/customtkinter/windows/widgets/core_widget_classes/dropdown_menu.py +++ b/customtkinter/windows/widgets/core_widget_classes/dropdown_menu.py @@ -50,6 +50,7 @@ class DropdownMenu(tkinter.Menu, CTkAppearanceModeBaseClass, CTkScalingBaseClass # call destroy methods of super classes tkinter.Menu.destroy(self) CTkAppearanceModeBaseClass.destroy(self) + CTkScalingBaseClass.destroy(self) def _update_font(self): """ pass font to tkinter widgets with applied font scaling """