From 3b681cedd2465a805eb46c0c68d9aaa064e2e097 Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Fri, 29 May 2026 18:31:19 -0400 Subject: [PATCH] [#2604] Prevent UI Scaling Wiping Out Tree --- plugin_browser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin_browser.py b/plugin_browser.py index 4f783fc1..cfa3e122 100644 --- a/plugin_browser.py +++ b/plugin_browser.py @@ -172,12 +172,13 @@ class PluginBrowserMixIn: show="headings", selectmode="browse", height=12, + style="PluginBrowser.Treeview" ) # Configure row height to prevent text clipping - row_font = tkfont.Font(family='TkDefaultFont') + row_font = tkfont.nametofont('TkDefaultFont') style = ttk.Style() - style.configure("Treeview", rowheight=int(row_font.metrics()['linespace'] * 1.1)) + style.configure("PluginBrowser.Treeview", rowheight=int(row_font.metrics()['linespace'] * 1.1)) self.plugins_tree.heading( "name",