I am trying to add a button on the tool panel for material which should open the material editor in a dialog box, which should be resizeable.
I can do the button but am having trouble creating the dialog box.
I tried to Do this by making duplicate window and dislplaying the properties editor in full screen but it takes up the whole screen.
I can make simple scripts in blender but don' know how to this.
Any help is much apreciated.
from bpy.types import Header