AutoComplete popup on HIDPI screens

Phil Thompson phil at riverbankcomputing.com
Thu May 6 11:53:17 BST 2021


On 05/05/2021 21:14, Torsten Paul wrote:
> On 05.05.21 12:45, Phil Thompson wrote:
>> The "desired" size is the size hint of a QListWidget which
>> works fine for me. In particular I don't see any scrollbars.
> 
> Hmm, I tried with a tiny test case on my system and it's not
> actually 100x100 but the result is still pretty unusable when
> setting the editor to a bigger font. Is that default maybe
> based on the default font size?
> 
> Test system:
> - Dell XPS 13 with 4k display
> - Debian/Testing with Qt 5.15.2, QScintilla 2.11.6
> 
> Screenshot and sample project based on Qt example project
> https://doc.qt.io/qt-5/qtwidgets-mainwindows-application-example.html
> attached.
> 
> Run via: qmake && make && ./application
> 
> Screenshot is just pressing uppercase P after the window is
> shown.

Can you try the attached patch?

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoc.patch
Type: text/x-diff
Size: 961 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20210506/d9cd88dc/attachment.patch>


More information about the QScintilla mailing list