Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1885)

Unified Diff: Source/devtools/front_end/AuditResultView.js

Issue 214663005: [DevTools] Add preferred size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Constraints Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/AuditResultView.js
diff --git a/Source/devtools/front_end/AuditResultView.js b/Source/devtools/front_end/AuditResultView.js
index 5f7f0fcd92f5212df371bcaac7acfcce07cb444f..3868db17715acf46c34a1590419812b93d5ae002 100644
--- a/Source/devtools/front_end/AuditResultView.js
+++ b/Source/devtools/front_end/AuditResultView.js
@@ -36,7 +36,7 @@
WebInspector.AuditResultView = function(categoryResults)
{
WebInspector.SidebarPaneStack.call(this);
- this.setMinimumSize(100, 25);
+ this.setConstraints(100, 25);
this.element.classList.add("audit-result-view", "fill");
function categorySorter(a, b) {

Powered by Google App Engine
This is Rietveld 408576698