fix geometry of file browser

This commit is contained in:
Eyck Jentzsch 2022-01-09 13:54:58 +01:00
parent 5c59fb0676
commit fbec708522
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class FileBrowserDialog extends TrayDialog {
getButton(IDialogConstants.OK_ID).setEnabled(!tableViewer.getSelection().isEmpty());
if(parent instanceof Shell) {
Point size = ((Shell)parent).computeSize(SWT.DEFAULT, SWT.DEFAULT);
((Shell)parent).setSize(size.x, 400);
((Shell)parent).setSize(Math.max(size.x, 600), Math.max(size.y, 450));
((Shell)parent).setText("Select database");
}
return ret;