How can I set a fixed background to fit perfectly for N8 (and other symbian device if possible)? There's no problem with the display if I only have the buttons and spacers. It is displayed on all Symbian simulator devices correctly.
My problem comes in if I add a fixed background(not repeated) to the form/frame.
I tried getting the geometry using N8 Symbian simulator with this code:
QDesktopWidget* desktopWidget = QApplication::desktop();
QRect appRect = desktopWidget->screenGeometry();
And appRect returned:
Is it correct to assume that x2 is width and y2 is height? I tried setting my form's width and height to those figures explicitly, then adjusted my image to have 359x547 resolution, it still doesnt show the whole image. The background image is still too big.
I added the background image in a frame using this code:
"background-position: top center;");
What's the correct way? Also, I only need this to be shown in portrait mode.
Thanks in advance!