Version: 2018.2
public static float currentViewWidth ;

説明

現在の EditorWindow や他のビューの GUI 空間の幅