First of all, show us your code so we can see what have you already tried.What can I should do?
First of all, show us your code so we can see what have you already tried.What can I should do?
I developed my application using Qt Creator 1.3.1. I could include some files. In my opinion problem could be located in ui file, so I could show ui_myfile.h or myfile.ui.
Wait for your question
Paolo
Solved! I set SetGeometry() property inside my code. See the code:
void MiaQStackedWidget:n_pushButton_pressed()
{
ui->page_1->hide();
ui->page_2->setGeometry(0,0,800,480);
ui->page_2->show();
}
I tought Geometry was already set inside QtCreator, but it wasn't so. I tried and all my pages now are correctly sized as I like.
I don't know if it's the best method, there're further ways to obtain same result, but I see It works and I'm ok.
Paolo
Bookmarks