dbs_annotator.utils.responsive
Responsive design utilities for adaptive UI scaling.
This module provides functions to scale UI elements based on screen DPI and resolution, ensuring consistent appearance across different displays.
Functions
|
Apply responsive size policy to a widget. |
Get the DPI scaling factor for the current screen. |
|
|
Get stylesheet variables for responsive design. |
|
Scale font size based on DPI, with reasonable limits. |
|
Scale a value based on DPI. |