Hey Folks,
I have two panels in the designer, and I'm trying to get the to AutoScale, but it isn't working.
My main config is 1280x800 scale is 1.0
here is my script:
When I change the variant to the Nexus 7 setting, 1280x800 scale 1.33
Things do change, but not properly. It seems that the Right edge of the MenuBar panel doesn't stay linked to the right side of the screen. It runs off the edge.
Thoughts?
-Sterling
I have two panels in the designer, and I'm trying to get the to AutoScale, but it isn't working.
My main config is 1280x800 scale is 1.0
here is my script:
B4X:
'All variants script
AutoScaleRate(.3)
AutoScaleAll 'uncomment to scale all views based on the device physical size.
pnlMainQuestion.Left = 0%x
pnlMainQuestion.Right = 80%x
pnlMainQuestion.Top = 0%y
pnlMainQuestion.Bottom = 100%y
pnlMenuBar.SetLeftAndRight(pnlMainQuestion.Right,100%x)
pnlMenuBar.SetTopAndBottom(0%y, 100%y)
When I change the variant to the Nexus 7 setting, 1280x800 scale 1.33
Things do change, but not properly. It seems that the Right edge of the MenuBar panel doesn't stay linked to the right side of the screen. It runs off the edge.
Thoughts?
-Sterling
Last edited: