diff --git a/pcbnew/python/scripting/pcb_scripting_tool.cpp b/pcbnew/python/scripting/pcb_scripting_tool.cpp index 1223ef5e79..5b47c5d371 100644 --- a/pcbnew/python/scripting/pcb_scripting_tool.cpp +++ b/pcbnew/python/scripting/pcb_scripting_tool.cpp @@ -93,6 +93,8 @@ int SCRIPTING_TOOL::reloadPlugins( const TOOL_EVENT& aEvent ) frame()->ReCreateMenuBar(); // Recreate top toolbar to add action plugin buttons frame()->ReCreateHToolbar(); + // Post a size event to force resizing toolbar by the AUI manager: + frame()->PostSizeEvent(); } return 0;