From e1885e07c1ee5c1e379db747eb55185928fba43d Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Mon, 10 Jun 2024 20:05:40 +0200 Subject: [PATCH] IMPROVEMENT: Make the component editor instructions font bigger --- .../frontend_tkinter_component_editor_base.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MethodicConfigurator/frontend_tkinter_component_editor_base.py b/MethodicConfigurator/frontend_tkinter_component_editor_base.py index 4b17b3d..a28ff44 100644 --- a/MethodicConfigurator/frontend_tkinter_component_editor_base.py +++ b/MethodicConfigurator/frontend_tkinter_component_editor_base.py @@ -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