Updated script

This commit is contained in:
Christoffer Martinsson 2025-04-13 19:29:53 +02:00
parent 2ffb2acc98
commit 6695e63c9d

View File

@ -132,7 +132,7 @@ def fetch_device_info():
app.after(100, fetch_device_info)
app = tk.Tk()
app.title(get_id().replace(","," "))
app.title("SPM6103")
# Load and apply the saved geometry (size + position)
app.geometry(load_window_geometry())
app.configure(bg="black")
@ -181,7 +181,7 @@ tk.Label(app, textvariable=multimeter_range_var, font=fontMedium, bg="black", fg
.grid(column=0, columnspan=1, row=0, sticky="nw", padx=0, pady=0)
# Data
tk.Label(app, textvariable=multimeter_data_var, font=fontBig, bg="black", fg="lightgrey") \
tk.Label(app, textvariable=multimeter_data_var, font=fontBig, bg="black", fg="#afd787") \
.grid(column=1, columnspan=6, row=0, rowspan=1, sticky="nsew", padx=0, pady=10)
# Buttons