I am trying to create a program that uses textedit to append text when certain commands are written....I would like for the textedit to scroll to the bottom upon executing the command. However, it cuts off text upon doing so.

I have searched google high and low and not one solution has been found.....

My project is here: https://github.com/voncloft/VPacman

the following code breaks the scrollbars:

Qt Code:
  1. void MainWindow::resizeEvent(QResizeEvent*)
  2. {
  3. ui->plainTextEdit->setGeometry(MainWindow::width()-300,0,280,40);
  4. ui->textEdit->resize(MainWindow::width()-30,MainWindow::height()-30);
  5. ui->listWidget->resize(MainWindow::width()-30,300);
  6. updateGeometry();
  7. }
To copy to clipboard, switch view to plain text mode 

I need to be able to resize the entire "application" and have the "pieces" move and resize as needed if I disable the resize for ui->textedit it works just fine but I can't dynamically increase or decrease its size....which is what I need.

Any ideas?

Thanks.