Hi All
I've got my layout designed using the designer, and then using the designer scripts feature I have set all the views so that it works on all the devices in the UI cloud. So far so good, I was wondering if I have to scale the text sizes and alignments as well ? currently I have this piece of code at the top of my designer script.
AutoScaleRate(0.5)
AutoScaleAll
'###Set the font sizes
txtPassword.TextSize = 40
cmdInput7.TextSize = 30
cmdInput8.TextSize = 30
cmdInput9.TextSize = 30
cmdInput4.TextSize = 30
cmdInput5.TextSize = 30
cmdInput6.TextSize = 30
cmdInput1.TextSize = 30
cmdInput2.TextSize = 30
cmdInput3.TextSize = 30
cmdInput0.TextSize = 30
cmdClear.TextSize = 26
cmdOk.TextSize = 26
lblVersion.TextSize = 14
lblMessage.TextSize = 22
lblConnection.TextSize = 14
cmdExit.TextSize = 22
The text size looks right on the large screen sizes but as you get down to the smaller screens the text is too big and it is no longer in the middle of the button but rather at the bottom of the button and cut off. Am I doing this correctly or is there a better way ?
Many thanks in advance for any assistance and advice.
AJ
I've got my layout designed using the designer, and then using the designer scripts feature I have set all the views so that it works on all the devices in the UI cloud. So far so good, I was wondering if I have to scale the text sizes and alignments as well ? currently I have this piece of code at the top of my designer script.
AutoScaleRate(0.5)
AutoScaleAll
'###Set the font sizes
txtPassword.TextSize = 40
cmdInput7.TextSize = 30
cmdInput8.TextSize = 30
cmdInput9.TextSize = 30
cmdInput4.TextSize = 30
cmdInput5.TextSize = 30
cmdInput6.TextSize = 30
cmdInput1.TextSize = 30
cmdInput2.TextSize = 30
cmdInput3.TextSize = 30
cmdInput0.TextSize = 30
cmdClear.TextSize = 26
cmdOk.TextSize = 26
lblVersion.TextSize = 14
lblMessage.TextSize = 22
lblConnection.TextSize = 14
cmdExit.TextSize = 22
The text size looks right on the large screen sizes but as you get down to the smaller screens the text is too big and it is no longer in the middle of the button but rather at the bottom of the button and cut off. Am I doing this correctly or is there a better way ?
Many thanks in advance for any assistance and advice.
AJ