Use a scrolled panel for the tree and add support for autosizing horizontially
Hide/Unhide tree on edit to resize and show scrollbar correctly move functions to constructor not needed on each call