Currently ArendMoveMembersDialog (F6), ArendRenameDialog (Shift+F6, switch off inline rename feature to be able to actually see this dialog) and ArendChangeSignature (Ctrl+F6) when invoked all have the following two issues:
1) they appear at a random place of the screen
2) they often appear being wrongly sized (e.g. being too small, so that the user has to manually resize them right after they appear).
The following is necessary:
These dialogs should come conveniently resized (so that the principal visual components could be displayed without scroll-bars), they should be of minimal possible size for that;
These dialogs should appear centered relative to IntellijIDEA frame (or whole screen?);
On the other hand, these dialog windows should not be too large (occupy more than, say, 1/4 of the screen area), if it is not possible to fit all visual components without scroll-bars then initialize the windows with highest possible values for the given screen resolution, user always can change dialog window size himself later;
Implementation should be using standard Swing features (preferredSize, pack() etc.), difference in dialog font size should also be taken into account
Currently
ArendMoveMembersDialog
(F6
),ArendRenameDialog
(Shift+F6
, switch off inline rename feature to be able to actually see this dialog) andArendChangeSignature
(Ctrl+F6
) when invoked all have the following two issues: 1) they appear at a random place of the screen 2) they often appear being wrongly sized (e.g. being too small, so that the user has to manually resize them right after they appear).The following is necessary:
preferredSize
,pack()
etc.), difference in dialog font size should also be taken into account