zgulser
23rd July 2012, 08:05
Hi,
As you can see from the sample.png attached, the notification label overlays the message box and this leads a problem that message can be read partially.
I want that label to be always one line lower then the last message letter.
To do so, I wrote something like the following;
my_notification_label->move(0, my_text_edit->viewport()->height());
it puts the label to the right place once but it didn't move message size grows(or scroll bar appears).
As you can see from the sample.png attached, the notification label overlays the message box and this leads a problem that message can be read partially.
I want that label to be always one line lower then the last message letter.
To do so, I wrote something like the following;
my_notification_label->move(0, my_text_edit->viewport()->height());
it puts the label to the right place once but it didn't move message size grows(or scroll bar appears).