Avoid function completion tootltip to go out of the screen.
Avoid function completion tootltip to go out of the screen.

Task-number: QTCREATORBUG-2307
Reviewed-by: Thorbjorn Lindeijer

xianian/qt-creator,sandsmark/qtcreator-minimap,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,pcacjr/qt-creator,KDE/android-qt-creator,amyvmiwei/qt-creator,dmik/qt-creator-os2,kuba1/qtcreator,farseerri/git_code,colede/qtcreator,duythanhphan/qt-creator,bakaiadam/collaborative_qt_creator,azat/qtcreator,KDE/android-qt-creator,KDAB/KDAB-Creator,kuba1/qtcreator,danimo/qt-creator,pcacjr/qt-creator,colede/qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,kuba1/qtcreator,jonnor/qt-creator,farseerri/git_code,colede/qtcreator,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,richardmg/qtcreator,hdweiss/qt-creator-visualizer,xianian/qt-creator,hdweiss/qt-creator-visualizer,danimo/qt-creator,omniacreator/qtcreator,renatofilho/QtCreator,maui-packages/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,richardmg/qtcreator,jonnor/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,azat/qtcreator,sandsmark/qtcreator-minimap,KDAB/KDAB-Creator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,colede/qtcreator,KDAB/KDAB-Creator,kuba1/qtcreator,azat/qtcreator,darksylinc/qt-creator,KDE/android-qt-creator,darksylinc/qt-creator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,pcacjr/qt-creator,renatofilho/QtCreator,farseerri/git_code,Distrotech/qtcreator,yinyunqiao/qtcreator,duythanhphan/qt-creator,Distrotech/qtcreator,sandsmark/qtcreator-minimap,xianian/qt-creator,pcacjr/qt-creator,danimo/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,jonnor/qt-creator,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,farseerri/git_code,amyvmiwei/qt-creator,danimo/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,hdweiss/qt-creator-visualizer,Distrotech/qtcreator,duythanhphan/qt-creator,Distrotech/qtcreator,hdweiss/qt-creator-visualizer,renatofilho/QtCreator,jonnor/qt-creator,dmik/qt-creator-os2,yinyunqiao/qtcreator,richardmg/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,sandsmark/qtcreator-minimap,danimo/qt-creator,duythanhphan/qt-creator,dmik/qt-creator-os2,ostash/qt-creator-i18n-uk,malikcjm/qtcreator,AltarBeastiful/qt-creator,yinyunqiao/qtcreator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,colede/qtcreator,KDE/android-qt-creator,farseerri/git_code,malikcjm/qtcreator,syntheticpp/qt-creator,xianian/qt-creator,renatofilho/QtCreator,dmik/qt-creator-os2,yinyunqiao/qtcreator,pcacjr/qt-creator,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,malikcjm/qtcreator,martyone/sailfish-qtcreator,azat/qtcreator,dmik/qt-creator-os2,kuba1/qtcreator,bakaiadam/collaborative_qt_creator,renatofilho/QtCreator,farseerri/git_code,Distrotech/qtcreator,maui-packages/qt-creator,pcacjr/qt-creator,hdweiss/qt-creator-visualizer,maui-packages/qt-creator,xianian/qt-creator,sandsmark/qtcreator-minimap,omniacreator/qtcreator,kuba1/qtcreator,xianian/qt-creator,renatofilho/QtCreator,maui-packages/qt-creator,danimo/qt-creator,pcacjr/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,darksylinc/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,azat/qtcreator,syntheticpp/qt-creator,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,farseerri/git_code,darksylinc/qt-creator,kuba1/qtcreator,xianian/qt-creator,malikcjm/qtcreator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,richardmg/qtcreator,colede/qtcreator,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,omniacreator/qtcreator,omniacreator/qtcreator,KDAB/KDAB-Creator,jonnor/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,yinyunqiao/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,darksylinc/qt-creator,KDE/android-qt-creator,syntheticpp/qt-creator,duythanhphan/qt-creator,azat/qtcreator,sandsmark/qtcreator-minimap,KDAB/KDAB-Creator,xianian/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,yinyunqiao/qtcreator,AltarBeastiful/qt-creator,yinyunqiao/qtcreator,jonnor/qt-creator