I am creating program using Tkinter and faced a problem. I have a json of configs:
{
"canvas_size": 450,
"line_width": 2,
"unit_line_width": 5,
"dash": {
"dash": 10,
"space": 10
}
}
And canvas objects with this specs like circles look perfect on my MacBook.
canvas.create_oval(top_x, top_y, bottom_x, bottom_y,
dash=dash, fill='',
tags=("draggable", self.selection_fig_tag),
outline=outline, width=width)
However when I switch to Desktop my program looks awful due to different screen resolution. How can I adjust these configurations using screen dpi or etc, so my program will look same on different screens?