fix(ui): rebalance Auth/Activity dock panel sizes
Some checks failed
Build and Test / build (pull_request) Has been cancelled

Use resizeDocks() to give Database Activity 80% of the vertical space
in the right dock area, keeping Database Auth compact at 120px.

Closes #190, Closes #191
This commit is contained in:
forbes
2026-02-15 09:43:31 -06:00
parent 3de92325a3
commit 1dbeff7758

View File

@@ -154,6 +154,11 @@ def _setup_silo_activity_panel():
panel.setWidget(widget)
mw.addDockWidget(QtCore.Qt.RightDockWidgetArea, panel)
# Give the activity panel most of the vertical space
auth_panel = mw.findChild(QtWidgets.QDockWidget, "SiloDatabaseAuth")
if auth_panel:
mw.resizeDocks([auth_panel, panel], [120, 500], QtCore.Qt.Vertical)
except Exception as e:
FreeCAD.Console.PrintLog(f"Create: Silo activity panel skipped: {e}\n")