MCPcopy
hub / github.com/mathuo/dockview / layout

Function layout

packages/dockview-core/src/splitview/splitviewPanel.ts:129–135  ·  view source on GitHub ↗
(size: number, orthogonalSize: number)

Source from the content-addressed store, hash-verified

127 }
128
129 layout(size: number, orthogonalSize: number): void {
130 const [width, height] =
131 this.orientation === Orientation.HORIZONTAL
132 ? [size, orthogonalSize]
133 : [orthogonalSize, size];
134 super.layout(width, height);
135 }
136
137 init(parameters: PanelViewInitParameters): void {
138 super.init(parameters);

Callers

nothing calls this directly

Calls 1

layoutMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…