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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js

Issue 2605253002: [DevTools] Add grow mode to ListControl. (Closed)
Patch Set: works Created 4 years 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: third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js
index 64dfe06f40bb5362507218f75fd22316e4c52355..3011a37b4581033d9515d06c16aa389f6bfe511c 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FilteredListWidget.js
@@ -87,7 +87,7 @@ UI.FilteredListWidget = class extends UI.VBox {
* @override
*/
willHide() {
- this._list.setHeightMode(UI.ListHeightMode.Measured);
+ this._list.setMode(UI.ListMode.ViewportFixedItemsMeasured);
caseq 2016/12/29 19:25:31 ditto. also, consider moving to wasShown()
this._delegate.dispose();
if (this._filterTimer)
clearTimeout(this._filterTimer);

Powered by Google App Engine
This is Rietveld 408576698