Commit 01c381f6 authored by Mikhail Sokolov's avatar Mikhail Sokolov Committed by intellij-monorepo-bot
Browse files

IDEA-329955 Find usages popup resize does not resize item rows

(cherry picked from commit b58180b14ba43ff9a32b124e3c7e730757db82f0)

IJ-CR-117862

GitOrigin-RevId: a9c0ca3e72388a74ca7993d7962039ab2a73bc13
parent b342b18b
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
...@@ -1262,6 +1262,7 @@ public final class ShowUsagesAction extends AnAction implements PopupAction, Hin ...@@ -1262,6 +1262,7 @@ public final class ShowUsagesAction extends AnAction implements PopupAction, Hin
column.setWidth(Math.min(ShowUsagesTable.MAX_COLUMN_WIDTH, width)); column.setWidth(Math.min(ShowUsagesTable.MAX_COLUMN_WIDTH, width));
column.setPreferredWidth(width); column.setPreferredWidth(width);
} }
table.getColumnModel().getColumn(colsNum - 1).setMaxWidth(Integer.MAX_VALUE); //last column should grow for the rest of the table width
return totalWidth; return totalWidth;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment