[Chore] Remove the code that is useless. and change the function getLongestText for somehow.

This commit is contained in:
Sakamoto Shiina
2023-10-16 20:00:31 +09:00
parent 4a62b31db0
commit 29b30bba92
2 changed files with 5 additions and 12 deletions

View File

@@ -132,12 +132,6 @@ class _CreateDropdownMenuWindow(CTkToplevel):
self.dropdown_menu_values_box = CTkFrame(self.scroll_frame_container, corner_radius=0, fg_color=self.window_bg_color, width=0, height=0)
self.dropdown_menu_values_box.grid(row=0, column=0, sticky="nsew")
self.dropdown_menu_values_box.grid_columnconfigure(0, weight=1)
self._createDropdownMenuValues(dropdown_menu_widget_id, dropdown_menu_values, command)
applyUiScalingAndFixTheBugScrollBar(