src/vs/workbench/browser/parts/panel/panelPart.ts/BasePanelPart/preferredHeight
class BasePanelPart:	get preferredHeight(): number | undefined {
		// Don't worry about titlebar or statusbar visibility
		// The difference is minimal and keeps this function clean
		return this.layoutService.dimension.height * 0.4;
	}