cancel
Showing results for 
Search instead for 
Did you mean: 

Change of display format in run mode

mids400
Associate III

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.

 

CH66-1.jpgCH66-2.jpg

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

1 REPLY 1
MM..1
Chief II

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...