mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-171464 Calculate column widths even if find.usages.disable.smart.size is on
When we added this key, we completely disabled all resizing logic when Show Usages appears. This works fine for the size of the popup itself, but the column sizes are now all wrong. Adding this one line seems to fix the column sizes without affecting the size of the popup. (cherry picked from commit dd0659caa779f533770451a31ec3807394ab2c66) IJ-CR-149328 GitOrigin-RevId: fd9ea59a1b841ba2ba23f782733c6d8dee574fec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
324189dcdb
commit
71f6d76389
@@ -1417,7 +1417,10 @@ public final class ShowUsagesAction extends AnAction implements PopupAction, Hin
|
||||
boolean showCodePreview,
|
||||
int dataSize) {
|
||||
|
||||
if (Registry.is("find.usages.disable.smart.size", false)) return;
|
||||
if (Registry.is("find.usages.disable.smart.size", false)) {
|
||||
calcMaxWidth(table);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isCodeWithMeClientInstance(popup)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user