Skip to content

Commit 0dadf81

Browse files
committed
Darkmode readded + New screenshots
1 parent 3653aad commit 0dadf81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

images/screenshot.png

116 KB
Loading

mods/gui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import tkinter as tk
22
from tkinter import ttk, messagebox, BOTH, PhotoImage
3-
#from ttkbootstrap import Style # Uncomment to use dark theme.
3+
from ttkbootstrap import Style # Uncomment to use dark theme.
44
from tkinter.font import Font
55
from mods.get_sat import get_sat
66
from mods.import_sat import import_satellites
@@ -75,10 +75,10 @@ def button_click():
7575
root.iconphoto(False, img)
7676
root.title("Satellite Tracker")
7777
root.resizable(False, False)
78-
root.geometry("360x640")
78+
root.geometry("360x650")
7979
font = Font(family="Arial", size=20)
8080
root.option_add("*TCombobox*Listbox*Font", font)
81-
#style = Style(theme='darkly') # Uncomment to enable dark theme.
81+
style = Style(theme='darkly') # Uncomment to enable dark theme.
8282

8383
# === LAT/LONG/MIN.ELEV ENTRY FIELDS ===
8484
entry_frame = ttk.Frame(root)
@@ -106,7 +106,7 @@ def button_click():
106106
combo_box.pack(pady=5, padx=8, fill=BOTH)
107107

108108
# === OUTPUT TEXT BOX ===
109-
text_area = tk.Text(root, width=36, height=24, font=("Arial", 12), state=tk.DISABLED)
109+
text_area = tk.Text(root, width=36, height=22, font=("Arial", 12), state=tk.DISABLED)
110110
text_area.pack(padx=2, pady=10)
111111
submitbutton = tk.Button(root, text="Lookup Satellite", command=button_click, font=("Arial", 12))
112112
submitbutton.pack(padx=8, pady=5, fill=BOTH)

0 commit comments

Comments
 (0)