Macro SplitPropEditor/pl

Context
This macro has been written because some operations in FreeCAD need to get a frequent access to the property editor. Its limited height in the combo view can be a problem, especially when access to the tree view is also needed at the same time. The macro solves this by allowing the user to temporarily split the property editor widget to a separated dock widget. The newly created widget is set to the right of the window at creation but can be moved (docked or floating) as any other dock widget. When separated property editor is no more needed, user can close the extra widget and property editor is set back to the combo view automatically. Notice that when the property editor is detached from the combo view, its height is stored and is then restored when it's back to the combo view. Moreover, when the property editor is split, it provides a font sizing mechanism so even more properties can be displayed.

Usage
To split the property editor, just run the macro. When the macro has been run once in the session, different ways to split/reset the property editor exists :
 * When the property editor is split, closing the extra dock widget will reset it to the combo view
 * Run the macro again : at each run, property editor split will be toggled. This is a useful way if you attach the macro to a custom icon in a toolbar
 * Double-click the 'Model' tab label in the Combo view : each double-click will toggle property editor split
 * Go to View->Panels and toggle the 'Property editor' panel

When the property editor is split in its separated widget, perform a mouse middle click on the widget title bar to get access to the font sizer.

Installation
The macro is available through Addon Manager. Code is provided on this page for convenience in case user system doesn't have git-python. Though it should be up-to-date, latest release is always available at FreeCAD-macro repository

For more detailed explanations, see the How to install macros page. Notice that macro is ready to be set as Macro at Startup

Forum discussion
For any feedback (bug, feature request, comments, ...), please use this forum thread : https://forum.freecadweb.org/viewtopic.php?f=22&t=39345

Code
Macro_SplitPropEditor.FCMacro