1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Updated size of progression graph to fit larger statistics window.

This commit is contained in:
Joe R 2022-01-18 20:21:47 -05:00
parent b55c0a9015
commit bc8eb4270c
4 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
Current progression image from https://www.publicdomainpictures.net/en/view-image.php?image=69708&picture=abstract-blue-texture-background
Used under a CC0 license
Source of old progression image is unknown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -858,7 +858,7 @@ class ProgressionFrame(ttk.Frame):
w = dialog.tkfont.measure('M') * 42
w = max(w, 500)
w = min(w, 600)
self.canvas_width, self.canvas_height = w, 250
self.canvas_width, self.canvas_height = w, 325
cond = parent.winfo_screenwidth() < 800 or \
parent.winfo_screenheight() < 600
if cond: