PDA

View Full Version : UI file showing different in desktop and laptop ..



riarioriu3
25th June 2012, 08:30
Hii
In my project one ui file is there , when i am viewing that ui file in my laptop( having 15 inch screen ) half of the ui file is not showing , when i am running the same project in my desktop(having bigger screen than my laptop) the same ui file is showing completely . What might be the reason and how to show the full ui in my laptop ??
Thankxx in adv ..

Added after 1 5 minutes:

i got the solution , i just decrease the heigt of my UI file . Now its working fine both in my desktop as well as in my laptop ..

sonulohani
26th June 2012, 07:37
use------>



this->setFixedSize(w,h);

ChrisW67
26th June 2012, 10:44
Use a layout so that widgets resize correctly.