iOS Question One Page affecting another?

Arf

Well-Known Member
Licensed User
Longtime User
I load up a menu page, on there there are 2 buttons to go to two different pages.
If I click on the 1st button and load that page, it loads OK and the buttons on that page are fine.
If I click on the 2nd button and enter the other activity, then exit it using Main.NavControl.RemoveCurrentPage2(True)
to go back to the main page and then click on the 1st button, when that activity loads up the button fonts are way bigger than they should be.

Ay ideas? Both designer scripts start with
AutoScaleRate(1.00)
AutoScaleAll
 

Arf

Well-Known Member
Licensed User
Longtime User
It's actually simpler than that. Run app, man menu page gets loaded up fine.
Click button to go to the other activity which loads another page, and exit from that page back to the menu page, and some of the labels on that main menu page are now larger.

Is it possible that the main menu views are being autoscaled a second time when the second page loads up?
All pages are created and initialised by the designer.
 
Upvote 0

Arf

Well-Known Member
Licensed User
Longtime User
Turning 'Automatic Font Size' off in the designer for the menu page label fixed the issue where that label grew bigger when the screen goes to landscape, but never smaller again when phone is returned to portait.

however, if I go from the main menu onto the other page, turn to landscape, exit back to main menu - then that label appears much bigger again.

This is the last problem I face now, all the others are cured but I can't make head or tail of this one.
 
Upvote 0

Arf

Well-Known Member
Licensed User
Longtime User
It seems to me that autoscaling of label textsize is somehow lost or changed when changing between pages and changing phone orientation.
Autoscaled text size seems relative to screen width rather than display res.

Don't know what do do :-(
 
Upvote 0

Arf

Well-Known Member
Licensed User
Longtime User
Nailed it, the bil files were created from bal files and there were some old 600 x 960 Variants in the designer.
Removing them and putting all available iOS variants fixed the problem.
 
Upvote 0
Top