SetTopAndBottom does not fill height on some devices

Alwinl

Member
Licensed User
Longtime User
I have a script in a default 320x480, scale1 layout variant as below (global script):

AutoScaleAll
scroller.SetLeftAndRight(0, 100%x)
scroller.SetTopAndBottom(0, 100%Y)

When I send to the cloud all looks ok except for some tablets in portrait mode where it only fills a portion of the screen (screenshot attached) - why would it do this?
 

Attachments

  • Untitled.png
    Untitled.png
    3.1 KB · Views: 228

Alwinl

Member
Licensed User
Longtime User
Thanks Erel but I cannot access the InnerHeight property from the Designer Script, it's only available on the main page as property that will not accept 100%y as a value.
 
Upvote 0

Alwinl

Member
Licensed User
Longtime User
Thanks Erel, I assume 'Panel.Height' and 'InnerHeight' are the same property for the ScrollView?
 
Upvote 0
Top