mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
restructured imports from modules, created imports in __init__.py
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import sys
|
||||
|
||||
from .scaling_base_class import CTkScalingBaseClass
|
||||
from .scaling_tracker import ScalingTracker
|
||||
|
||||
if sys.platform.startswith("win") and sys.getwindowsversion().build < 9000: # No automatic scaling on Windows < 8.1
|
||||
ScalingTracker.deactivate_automatic_dpi_awareness = True
|
||||
|
||||
@@ -7,7 +7,7 @@ except ImportError:
|
||||
from typing_extensions import Literal
|
||||
|
||||
from .scaling_tracker import ScalingTracker
|
||||
from ..font.ctk_font import CTkFont
|
||||
from ..font import CTkFont
|
||||
|
||||
|
||||
class CTkScalingBaseClass:
|
||||
|
||||
Reference in New Issue
Block a user