Файли
openidea/e2e/usagesPopup.html
T
tongkangwangтаchiyanking 10e399cbec fix(code-insight): fit the Show Usages filename column to its content (#7571)
The Show Usages filename column had a fixed cap, so widening the popup did
not reveal more of a truncated filename. The column now takes the width of
the longest filename among all results (measured off-screen, so virtualized
rows, speed search and filters keep the columns aligned), capped at 176px
(38% when narrow) or a fifth of a wider popup; the code column gets the rest.
It is remeasured when results or font metrics change. Same-named files keep
their directory captions.

Co-authored-by: chiyanking <[email protected]>
2026-12-03 00:56:09 +08:00

14 рядки
383 B
HTML

<!doctype html>
<html lang="zh-CN" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenIDEA · 引用窗口测试</title>
</head>
<body>
<div id="root"></div>
<div id="usages-demo"></div>
<script type="module" src="./usagesPopup.fixture.tsx"></script>
</body>
</html>