From 929ebef143d1174cdda536394e1ecae765bbf6bf Mon Sep 17 00:00:00 2001 From: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com> Date: Thu, 13 Aug 2026 10:58:20 -0700 Subject: [PATCH] chore: cleanup comments and variable usage --- src/tagstudio/qt/views/suggest_box_view.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tagstudio/qt/views/suggest_box_view.py b/src/tagstudio/qt/views/suggest_box_view.py index 5817b569..7b8ccc5f 100644 --- a/src/tagstudio/qt/views/suggest_box_view.py +++ b/src/tagstudio/qt/views/suggest_box_view.py @@ -21,8 +21,6 @@ class SuggestBoxView(QVBoxLayout): self.setContentsMargins(0, 0, 0, 0) self.setSpacing(0) - # HACK: The transparent border allows for the focus border color to - # still show above the tags at the edges... sort of (overlaps on left when h-scrolling) scroll_area_style = """ QScrollArea{ background: transparent; @@ -65,7 +63,7 @@ class SuggestBoxView(QVBoxLayout): self.search_field = AutofillLineEdit(scroll_area_container) self.search_field.setStyleSheet(autofill_line_edit_style()) self.search_field.setObjectName("search_field") - self.search_field.setMinimumHeight(28) + self.search_field.setMinimumHeight(search_bar_height) self.search_field.setPlaceholderText(placeholder_text) self.scroll_area.setFocusProxy(self.search_field)