franki
9th September 2012, 12:45
Hi all,
I have two desktop apps, second app I created by copying first app into new folder and doing some changes in code. A few days ago I played with layout on one of the QStackedWidget pages in forms (created in designer) in app number 2. Now when I display certain page in app 2 application increase in height so much i goes beyond a scope of the screen (its getting higher than screen height) and refuses to shrink. I copied form (mainwindow.ui) from app number 1, but when I clear project and compile it result is the same.
What is strange, when I clear and compile app number 1 - there is no problem with layout, app is not getting higher than a screen, and I can even shrink it to 2/3 of the screen height.
App number 2 (that is using now form mainwindow.ui from app 1) after I clear and compile gets higher than screen always when I display certain page.
So I thought that there should be no difference between this two apps because I'm using the same form file.
Question is what is wrong? Where are the sizes of the mainwindow written? Or how can I debug this problem, what may cause my second application to increase in height.
I'm developing on Linux with Qt 4.8.1.
best regards
Marek
I have two desktop apps, second app I created by copying first app into new folder and doing some changes in code. A few days ago I played with layout on one of the QStackedWidget pages in forms (created in designer) in app number 2. Now when I display certain page in app 2 application increase in height so much i goes beyond a scope of the screen (its getting higher than screen height) and refuses to shrink. I copied form (mainwindow.ui) from app number 1, but when I clear project and compile it result is the same.
What is strange, when I clear and compile app number 1 - there is no problem with layout, app is not getting higher than a screen, and I can even shrink it to 2/3 of the screen height.
App number 2 (that is using now form mainwindow.ui from app 1) after I clear and compile gets higher than screen always when I display certain page.
So I thought that there should be no difference between this two apps because I'm using the same form file.
Question is what is wrong? Where are the sizes of the mainwindow written? Or how can I debug this problem, what may cause my second application to increase in height.
I'm developing on Linux with Qt 4.8.1.
best regards
Marek