How can I add a widget right in the bottom of the QWidget that has the QScrollArea as a parent?
Unsolved
General and Desktop
-
I am making my chat application. Every new QLabel containing a message is added in the bottom of his parent widget. I think you understand how a chat works like
-
Hi and welcome to devnet,
You could use a QGridLayout however, writing a chat application using QLabel is a bad idea. You are going to generate too much widgets at some point.
The usual technique is to use model views to render all of that. It will be lighter weight in terms of resources as well as simpler to manage in terms of data handling.