Skip to content

Commit

Permalink
IMPROVEMENT: Make the component editor instructions font bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Jun 10, 2024
1 parent a7d58d6 commit e1885e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,14 @@ def __init__(self, version, local_filesystem: LocalFilesystem=None):
intro_frame = ttk.Frame(self.main_frame)
intro_frame.pack(side=tk.TOP, fill="x", expand=False)

explanation_text = "Please configure ALL vehicle component properties in this window.\n"
style = ttk.Style()
style.configure("bigger.TLabel", font=("TkDefaultFont", 14))

explanation_text = "Please configure all vehicle component properties in this window.\n"
explanation_text += "Scroll down and make sure you do not miss a property.\n"
explanation_text += "Saving the result will write to the vehicle_components.json file."
explanation_label = ttk.Label(intro_frame, text=explanation_text, wraplength=800, justify=tk.LEFT)
explanation_label.configure(style="bigger.TLabel")
explanation_label.pack(side=tk.LEFT, padx=(10, 10), pady=(10, 0), anchor=tk.NW)

# Load the vehicle image and scale it down to image_height pixels in height
Expand Down

0 comments on commit e1885e0

Please sign in to comment.