Re: QLabel inside QTextEdit
You forgot to attach the screenshot. Anyway, you should probably use layouts for controlling the size and placement of widgets.
Re: QLabel inside QTextEdit
Oh yeah,
I just attached it.
Quote:
Anyway, you should probably use layouts for controlling the size and placement of widgets
But the label should overlay the QTextEdit at the bottom. I suppose I need to apart the message text in another textfield and put it into the main text field together with notification label.
Re: QLabel inside QTextEdit
Make the label a child of the text edit, set viewport margins on the bottom of the text edit and reimplement the resize event for the text edit to adjust the bottom margin of the viewport and position of the label.