Change display text and relative logos in GUI

This commit is contained in:
iamdoubz committed 2026-05-04 08:38:43 -05:00
1 parent 97c2c4d3bb
commit 7befa142a6
1 file changed
+3 -3
+3 -3
View File
@@ -203,15 +203,15 @@ class WiFiHeatmapApp:
os.path.join("extras", "pyfi-mini.png")))
# Use a single divisor for both axes to preserve aspect ratio.
# Target ~64px on the longest side.
_divisor = max(1, max(_logo_img.width(), _logo_img.height()) // 64)
_divisor = max(1, max(_logo_img.width(), _logo_img.height()) // 92)
_logo_img = _logo_img.subsample(_divisor, _divisor)
tk.Label(f, image=_logo_img, bg=BG2).pack(pady=(20, 4))
f._logo_img_ref = _logo_img # prevent garbage collection
except Exception:
tk.Label(f, text="📡", font=("Segoe UI Emoji", 28), bg=BG2, fg=ACCENT).pack(pady=(20, 4))
tk.Label(f, text="pyFi", font=("Georgia", 13, "bold"), bg=BG2, fg=TEXT).pack()
tk.Label(f, text="WiFi Heatmap Generator", font=("Georgia", 9), bg=BG2, fg=TEXT_DIM).pack(pady=(0, 16))
tk.Label(f, text="WiFi", font=("Georgia", 13, "bold"), bg=BG2, fg=TEXT).pack()
tk.Label(f, text="Heatmap Generator", font=("Georgia", 10), bg=BG2, fg=TEXT_DIM).pack(pady=(0, 16))
ttk.Separator(f, orient="horizontal").pack(fill="x", padx=12, pady=4)