Community
Participate
Working Groups
Each time I open Preferences dialog from Windows menu I have to resize the dialog larger manually because almost always the available space on monitor isn't used for presenting content. As I close and open the Preferences dialog again the content is sqeezed in a little window and have to be resized.
Gerrit reviews welcome
I took a look at WorkbenchPreferenceDialog#getDialogBoundsStrategy(), and it it is enough to use DIALOG_PERSISTSIZE | DIALOG_PERSISTLOCATION.
New Gerrit change created: https://git.eclipse.org/r/72491
*** This bug has been marked as a duplicate of bug 98130 ***
Thanks Patrik but there are other opinions out there.
(In reply to Björn Michael from comment #5) > Thanks Patrik but there are other opinions out there. NP, I was aware of this as per comments ;) /** * Overridden to persist only the location, not the size, since the current * page dictates the most appropriate size for the dialog. * * @since 3.2 */ @Override protected int getDialogBoundsStrategy() { return DIALOG_PERSISTLOCATION; }