From 4c9b2bbba6873ab81e96a78f7c9db01fd9a5103c Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Tue, 27 Jan 2026 16:28:07 -0500 Subject: [PATCH] [#2595] Second Attempt - Treeview Clipping --- plugin_browser.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin_browser.py b/plugin_browser.py index 7cadfafe..4f783fc1 100644 --- a/plugin_browser.py +++ b/plugin_browser.py @@ -13,6 +13,7 @@ import sys import webbrowser import tkinter as tk from tkinter import ttk +import tkinter.font as tkfont from PIL import Image, ImageTk from typing import Callable, cast import requests @@ -173,6 +174,11 @@ class PluginBrowserMixIn: height=12, ) + # Configure row height to prevent text clipping + row_font = tkfont.Font(family='TkDefaultFont') + style = ttk.Style() + style.configure("Treeview", rowheight=int(row_font.metrics()['linespace'] * 1.1)) + self.plugins_tree.heading( "name", # LANG: Plugin Browser Plug Name