Skip to content

Commit 7c4521d

Browse files
Re-styled bhom kinter UIs (#246)
2 parents 082bc2f + abe3501 commit 7c4521d

3 files changed

Lines changed: 156 additions & 156 deletions

File tree

‎Python_Engine/Python/src/python_toolkit/bhom_tkinter/bhom_window_shell.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,16 @@ def _load_theme(self) -> str:
236236
def _ensure_typography_styles(self, style: ttk.Style) -> None:
237237
"""Ensure key typography styles exist and remain visually distinct."""
238238
defaults = {
239-
"TLabel": ("Segoe UI", 10, "bold"),
239+
"TLabel": ("Segoe UI", 10),
240240
"Body.TLabel": ("Segoe UI", 10),
241241
"Caption.TLabel": ("Segoe UI", 9),
242242
"Small.TLabel": ("Segoe UI", 8),
243243
"Heading.TLabel": ("Segoe UI", 12, "bold"),
244-
"Subtitle.TLabel": ("Segoe UI", 14, "bold"),
245-
"Headline.TLabel": ("Segoe UI", 16, "bold"),
246-
"Title.TLabel": ("Segoe UI", 24, "bold"),
247-
"LargeTitle.TLabel": ("Segoe UI", 24, "bold"),
248-
"Display.TLabel": ("Segoe UI", 28, "bold"),
244+
"Subtitle.TLabel": ("Segoe UI", 12, "bold"),
245+
"Headline.TLabel": ("Segoe UI", 14, "bold"),
246+
"Title.TLabel": ("Segoe UI", 18, "bold"),
247+
"LargeTitle.TLabel": ("Segoe UI", 18, "bold"),
248+
"Display.TLabel": ("Segoe UI", 20, "bold"),
249249
}
250250

251251
def _lookup_font(style_name: str) -> str:

0 commit comments

Comments
 (0)