diff -r d0123f020daa -r fe1957c69854 eric6/QScintilla/Shell.py --- a/eric6/QScintilla/Shell.py Sat Jul 03 11:47:48 2021 +0200 +++ b/eric6/QScintilla/Shell.py Sat Sep 04 11:34:54 2021 +0200 @@ -571,8 +571,10 @@ self.racEnabled = Preferences.getShell("AutoCompletionEnabled") - self.maxLines = Preferences.getEditor("AutoCompletionMaxLines") - self.maxChars = Preferences.getEditor("AutoCompletionMaxChars") + self.setAutoCompletionWidgetSize( + Preferences.getEditor("AutoCompletionMaxChars"), + Preferences.getEditor("AutoCompletionMaxLines") + ) def __setCallTips(self, language='Python'): """