mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
removed CTkFiledialog, add filedialog
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import tkinter
|
||||
from typing import Union, Tuple, Dict, List, Callable, Optional
|
||||
|
||||
from .theme.theme_manager import ThemeManager
|
||||
@ -208,6 +209,7 @@ class CTkTabview(CTkBaseClass):
|
||||
fill=self._apply_appearance_mode(self._border_color),
|
||||
outline=self._apply_appearance_mode(self._border_color))
|
||||
self._canvas.configure(bg=self._apply_appearance_mode(self._bg_color))
|
||||
tkinter.Frame.configure(self, bg=self._apply_appearance_mode(self._bg_color)) # configure bg color of tkinter.Frame, cuase canvas does not fill frame
|
||||
|
||||
def configure(self, require_redraw=False, **kwargs):
|
||||
if "corner_radius" in kwargs:
|
||||
|
@ -155,7 +155,6 @@ class ScalingTracker:
|
||||
for window in cls.window_widgets_dict:
|
||||
if window.winfo_exists() and not window.state() == "iconic":
|
||||
current_dpi_scaling_value = cls.get_window_dpi_scaling(window)
|
||||
print("current dpi:", current_dpi_scaling_value)
|
||||
if current_dpi_scaling_value != cls.window_dpi_scaling_dict[window]:
|
||||
cls.window_dpi_scaling_dict[window] = current_dpi_scaling_value
|
||||
|
||||
|
Reference in New Issue
Block a user