added dropdown arrow with font files

This commit is contained in:
Tom Schimansky
2022-05-30 15:35:23 +02:00
parent aa46c56da9
commit 15558b4d0f
4 changed files with 5 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ FontManager.load_font(os.path.join(script_directory, "assets", "fonts", "Roboto"
FontManager.load_font(os.path.join(script_directory, "assets", "fonts", "Roboto", "Roboto-Medium.ttf"))
# load font necessary for rendering the widgets (used on Windows/Linux)
if FontManager.load_font(os.path.join(script_directory, "assets", "fonts", "CustomTkinter_shapes_font-fine.otf")) is False:
if FontManager.load_font(os.path.join(script_directory, "assets", "fonts", "CustomTkinter_shapes_font.otf")) is False:
# change draw method if font loading failed
if DrawEngine.preferred_drawing_method == "font_shapes":
sys.stderr.write("customtkinter.__init__ warning: " +