diff --git a/README.md b/README.md index c7ec3ba..315b842 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,12 @@ Fill out the required information and test your webhook. If that works - you're image ### What it looks like in reality -image +Screenshot 2025-09-27 014409 + image ### Contributors - [aweeri](https://github.com/aweeri) – Original creator - [TotallyAm](https://github.com/TotallyAm) – Fuel cost & distance calculation feature -- [SweetJonnySauce](https://github.com/SweetJonnySauce) – Ubuntu compatibility fix \ No newline at end of file +- [SweetJonnySauce](https://github.com/SweetJonnySauce) – Ubuntu compatibility fix +- [MrTagnan](https://github.com/MrTagnan) – "pls add me" + contributed imagery and minimal design adjustments diff --git a/load.py b/load.py index 0d13541..f50e855 100644 --- a/load.py +++ b/load.py @@ -4,6 +4,7 @@ """ import tkinter as tk +from tkinter import ttk from pathlib import Path from typing import Optional, Dict, Any from datetime import datetime, timedelta @@ -145,6 +146,8 @@ def plugin_prefs(parent: nb.Notebook, cmdr: str, is_beta: bool) -> Optional[tk.F logger.debug("Loading plugin preferences UI") frame = nb.Frame(parent) frame.columnconfigure(1, weight=1) + + entry_widget = getattr(nb, "Entry", ttk.Entry) current_row = 0 @@ -166,7 +169,7 @@ def plugin_prefs(parent: nb.Notebook, cmdr: str, is_beta: bool) -> Optional[tk.F for label, attr in settings: current_row += 1 nb.Label(frame, text=label).grid(row=current_row, column=0, padx=10, pady=5, sticky=tk.W) - entry = nb.Entry(frame, width=60) + entry = entry_widget(frame, width=60) entry.grid(row=current_row, column=1, padx=10, pady=5, sticky=tk.EW) setattr(config_state, attr, entry)