|
1 | 1 | import tkinter as tk
|
2 | 2 | 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. |
4 | 4 | from tkinter.font import Font
|
5 | 5 | from mods.get_sat import get_sat
|
6 | 6 | from mods.import_sat import import_satellites
|
@@ -75,10 +75,10 @@ def button_click():
|
75 | 75 | root.iconphoto(False, img)
|
76 | 76 | root.title("Satellite Tracker")
|
77 | 77 | root.resizable(False, False)
|
78 |
| - root.geometry("360x640") |
| 78 | + root.geometry("360x650") |
79 | 79 | font = Font(family="Arial", size=20)
|
80 | 80 | 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. |
82 | 82 |
|
83 | 83 | # === LAT/LONG/MIN.ELEV ENTRY FIELDS ===
|
84 | 84 | entry_frame = ttk.Frame(root)
|
@@ -106,7 +106,7 @@ def button_click():
|
106 | 106 | combo_box.pack(pady=5, padx=8, fill=BOTH)
|
107 | 107 |
|
108 | 108 | # === 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) |
110 | 110 | text_area.pack(padx=2, pady=10)
|
111 | 111 | submitbutton = tk.Button(root, text="Lookup Satellite", command=button_click, font=("Arial", 12))
|
112 | 112 | submitbutton.pack(padx=8, pady=5, fill=BOTH)
|
|
0 commit comments