[#2604] Prevent UI Scaling Wiping Out Tree

This commit is contained in:
David Sangrey committed 2026-05-29 18:31:19 -04:00
1 parent 9f033c5588
commit 3b681cedd2
1 file changed
+3 -2
+3 -2
View File
@@ -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",