Bug 158443 - Web Inspector: double-clicking on a table column resizer should trigger resize-to-fit for column to the left
Summary: Web Inspector: double-clicking on a table column resizer should trigger resiz...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2016-06-06 15:58 PDT by Saam Barati
Modified: 2016-12-13 15:35 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
Comment 4 Radar WebKit Bug Importer 2016-06-07 10:23:55 PDT
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