fix(ui): rebalance Auth/Activity dock panel sizes (#190, #191) #242

Merged
forbes merged 1 commits from fix/panel-layout-balance into main 2026-02-15 15:52:17 +00:00

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")