Bug 158443

Summary: Web Inspector: double-clicking on a table column resizer should trigger resize-to-fit for column to the left
Product: WebKit Reporter: Saam Barati <sbarati>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: All   
OS: All   

Description Saam Barati 2016-06-06 15:58:17 PDT
Sometimes, I'll see columns that are very wide but are filled with very little text, so they're mostly just white space.
It may be nice to automatically adjust their widths depending on the content in their column.

Maybe this wouldn't work out well in practice, but it might be worth trying
Comment 1 Timothy Hatcher 2016-06-07 10:19:38 PDT
We have this support, but it auto sizes all columns. We use this for console.table and SQL databases.

To match the OS, we should hook up double-click on the column resize to resize single columns to fit.
Comment 2 Timothy Hatcher 2016-06-07 10:20:57 PDT
We could also hook up the existing auto size support to a context menu.
Comment 3 Radar WebKit Bug Importer 2016-06-07 10:21:17 PDT
<rdar://problem/26675993>
Comment 4 Radar WebKit Bug Importer 2016-06-07 10:23:55 PDT
<rdar://problem/26676002>
Comment 5 Nikita Vasilyev 2016-06-07 12:01:48 PDT
Somewhat related to:
Bug 158167 Web Inspector: DataGrid cells should have minimum width that keeps its content readable