Home
last modified time | relevance | path

Searched refs:preferredSidebarSize (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DSplitView.js234 preferredSidebarSize: function() method in WebInspector.SplitView
580 …var preferredSidebarSize = this.isVertical() ? constraints.preferred.width : constraints.preferred…
581 if (!preferredSidebarSize)
582 preferredSidebarSize = WebInspector.SplitView.MinPadding;
583 preferredSidebarSize *= zoomFactor;
585 if (sidebarSize < preferredSidebarSize)
586 preferredSidebarSize = Math.max(sidebarSize, minSidebarSize);
605 var totalPreferred = preferredMainSize + preferredSidebarSize;
607 … return Number.constrain(sidebarSize, preferredSidebarSize, totalSize - preferredMainSize);
612 var sidebarDelta = delta * preferredSidebarSize / totalPreferred;
[all …]