- grow/shrink between min and max height correctly - don't grow wider than available space - some space between editor and buttons