fix(ui): remove addStretch from auth panel, use compact size policy

Replace layout.addStretch() with QSizePolicy.Maximum so the
Database Auth dock panel only takes the height its content needs,
leaving more vertical space for the Database Activity panel below.

Closes #190
This commit is contained in:
Zoe Forbes
2026-02-15 09:43:15 -06:00
parent 8cbd872e5c
commit 3fe43710fa

View File

@@ -2667,7 +2667,11 @@ class SiloAuthDockWidget:
btn_row.addWidget(settings_btn)
layout.addLayout(btn_row)
layout.addStretch()
# Keep the auth panel compact so the Activity panel below gets more space
self.widget.setSizePolicy(
QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum
)
# -- Status refresh -----------------------------------------------------