2023-10-20 01:15 AM
Hi,
I have read all the posts here about the changning of display format to 90° in run mode but it seems also not work!
i will put here two images for the both modes (Landscape & Portrait) to see the issue which happend.
I have added this screen_orientation := -rotate90 in the app.mk file then i called this function while the button is being clicked:
application().gotoScreenWaitingConnectionPortraitScreenNoTransition();
HAL::getInstance()->setDisplayOrientation(ORIENTATION_PORTRAIT);
It seems that the images are not rotated. Is there anything else I should do?
Note: the second screen designed in portrait mode.
Regards,
Mahdi
2023-10-20 11:20 AM
Images in memory is stored and optimized for speed load, then for change orientation you must store all not rotable entities in two variants. This is normal ... or second variants is use displays with config registers for orientation...