Skip to content

Commit f95b346

Browse files
committed
fix(component editor): Make header text smaller on linux
1 parent f72343c commit f95b346

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ardupilot_methodic_configurator/frontend_tkinter_component_editor_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def _setup_window(self) -> None:
153153
def _setup_styles(self) -> None:
154154
"""Configure the styles for UI elements."""
155155
style = ttk.Style()
156-
style.configure("bigger.TLabel", font=("TkDefaultFont", 13)) # type: ignore[no-untyped-call]
156+
style.configure("bigger.TLabel", font=("TkDefaultFont", self.calculate_scaled_font_size(9))) # type: ignore[no-untyped-call]
157157
style.configure("comb_input_invalid.TCombobox", fieldbackground="red") # type: ignore[no-untyped-call]
158158
style.configure("comb_input_valid.TCombobox", fieldbackground="white") # type: ignore[no-untyped-call]
159159
style.configure("entry_input_invalid.TEntry", fieldbackground="red") # type: ignore[no-untyped-call]

0 commit comments

Comments
 (0)