fix(bec_status_box): keep QWidget rows at natural height when the list is short

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TeMnCZ9FjLpwiDkPu6K9j
This commit is contained in:
Claude committed 2026-10-09 21:11:48 +00:00
1 parent 49be3ece8c
commit e9223c6f09
1 file changed
+2
@@ -175,6 +175,8 @@ class ServiceRowWidget(QFrame):
self.setObjectName("ServiceRow")
self.setCursor(Qt.CursorShape.PointingHandCursor)
self.setAttribute(Qt.WidgetAttribute.WA_Hover)
# keep rows at their natural height so short lists do not spread out
self.setSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Maximum)
self.row = None
self.expanded = False
self._hovered = False