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

Unified Diff: Source/devtools/front_end/ScreencastView.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/ScreencastView.js
diff --git a/Source/devtools/front_end/ScreencastView.js b/Source/devtools/front_end/ScreencastView.js
index 69457604318b473fbbf0bd73b3ed9a1eec8bad94..3c06787f1246ad1f27cf7679830a1d30da4c3652 100644
--- a/Source/devtools/front_end/ScreencastView.js
+++ b/Source/devtools/front_end/ScreencastView.js
@@ -36,7 +36,7 @@
WebInspector.ScreencastView = function()
{
WebInspector.VBox.call(this);
- this.setMinimumSize(150, 150);
+ this.setConstraints(150, 150);
this.registerRequiredCSS("screencastView.css");
};

Powered by Google App Engine
This is Rietveld 408576698