I have a QLabel
inside a QFrame
.
Sometimes I have too much text in the QLabel
and it resizes the QFrame
where it is in.
Now, I want to prevent the QLabel
from resizing the QFrame
where it resides in.
I don't want to limit the amount of lines or setting the maximum size of the QLabel
because if the window size of the app increases, I do want to allow the QLabel
to increase in size.
Just want to prevent the QLabel
from expanding it's parent.
Any clean way to do it?