var new_panel: Panel = new Panel(); addElement(new_panel); new_panel.titleDisplay.minHeight = 10; new_panel.titleDisplay.height = 10;