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:
@@ -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 -----------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user