PDA

View Full Version : Getting wrong geometry with widgetAreaResize signal



reticent
10th December 2010, 11:15
I am currently using 4.7.1. I used widgetAreaResize signal and in the corresponding slot I am getting available screen geometry QApplication::desktop()->availableGeometry() to get width and height. However I am still not getting correct geometry in case of portriat mode, that is, when I rotate phone from Landscape to portriat mode only width is getting properly updated. I am getting incorrect values for height. Its working in case of landscape mode. The problem is only with portrait mode. I am wondering whether am I missing something here. Can anyone have any idea.

Thanks.