diff --git a/src/vs/base/browser/ui/splitview/splitview.ts b/src/vs/base/browser/ui/splitview/splitview.ts index eabf8fa9d0a..7627c52d514 100644 --- a/src/vs/base/browser/ui/splitview/splitview.ts +++ b/src/vs/base/browser/ui/splitview/splitview.ts @@ -58,20 +58,6 @@ export interface IView { */ readonly maximumSize: number; - /** - * View instances are supposed to fire the {@link IView.onDidChange} event whenever - * any of the constraint properties have changed: - * - * - {@link IView.minimumSize} - * - {@link IView.maximumSize} - * - {@link IView.priority} - * - {@link IView.snap} - * - * The SplitView will relayout whenever that happens. The event can optionally emit - * the view's preferred size for that relayout. - */ - readonly onDidChange: Event; - /** * The priority of the view when the {@link SplitView.resize layout} algorithm * runs. Views with higher priority will be resized first. @@ -88,6 +74,20 @@ export interface IView { */ readonly snap?: boolean; + /** + * View instances are supposed to fire the {@link IView.onDidChange} event whenever + * any of the constraint properties have changed: + * + * - {@link IView.minimumSize} + * - {@link IView.maximumSize} + * - {@link IView.priority} + * - {@link IView.snap} + * + * The SplitView will relayout whenever that happens. The event can optionally emit + * the view's preferred size for that relayout. + */ + readonly onDidChange: Event; + /** * This will be called by the {@link SplitView} during layout. A view meant to * pass along the layout information down to its descendants.