Adapted propertiesPanelHeight for more properties