AutoComplete popup on HIDPI screens

Phil Thompson phil at riverbankcomputing.com
Thu May 6 22:13:20 BST 2021


On 06/05/2021 21:53, Torsten Paul wrote:
> On 06.05.21 12:53, Phil Thompson wrote:
>> Can you try the attached patch?
> 
> Yes, that looks much nicer. Trying a couple of cases,
> I'm not seeing any horizontal scrollbar for reasonably
> long words. Vertical starts at 5 entries which seems
> quite reasonable too.

That's configurable - SCI_AUTOCSETMAXHEIGHT. I could add a getter and 
setter to the high level API.

> I wonder if it can/should cap the horizontal size at
> some point. It happily goes out of the window, which
> is probably fine (autocomplete3.png) and works too if
> the text does not fit on screen, it just clips with
> the vertical scrollbar not visible (autocomplete4.png)
> or goes off to the next monitor if available.

I think the behaviour is fine.

Phil


More information about the QScintilla mailing list