__init__.py 287 B

1234567
  1. import sys
  2. from .scaling_base_class import CTkScalingBaseClass
  3. from .scaling_tracker import ScalingTracker
  4. if sys.platform.startswith("win") and sys.getwindowsversion().build < 9000: # No automatic scaling on Windows < 8.1
  5. ScalingTracker.deactivate_automatic_dpi_awareness = True