[PyQt] Having a QWebEngineView with specific width and growing height

Kushal Das kushaldas at gmail.com
Fri Apr 24 13:06:43 BST 2020


Hi,

I am trying to have a QWebEngineView widget (actually multiple of them
inside of a scroll area) to have fixed width and then grow the height
as required (instead of having any scrollbar). Think any a simple
chatting application where i want to render chat texts. And those
texts may have super long strings without any space or word break, or
strings with emojis.

Can anyone point to me to the related documentation or any example to
understand how to do this?

PyQt version: 5.11.3 on Debian Buster.

Kushal
-- 
Public Interest Technologist, Freedom of the Press Foundation
CPython Core Developer
Director, Python Software Foundation
https://kushaldas.in


More information about the PyQt mailing list