How to make widget grow outside of its parent widget
Hello!
Let's say I have a QLineEdit widget inside a QDialog and this QLineEdit widget grows when you type something in it (it grows so you can always see all the text in the QLineEdit).
Is there a way to allow that QLineEdit widget to grow outside of the QDialog it's in without making the QDialog (its parent) bigger?
Thanks!
Re: How to make widget grow outside of its parent widget
No if QLineEdit is a part of QDialog layout.
Re: How to make widget grow outside of its parent widget
Quote:
Originally Posted by
shakeandbake
Hello!
Let's say I have a QLineEdit widget inside a QDialog and this QLineEdit widget grows when you type something in it (it grows so you can always see all the text in the QLineEdit).
Is there a way to allow that QLineEdit widget to grow outside of the QDialog it's in without making the QDialog (its parent) bigger?
Hmm... what purpose would it serve?