Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0

How to adjust font size according to resolution


I'm using setResolution() to set screen tier 2 to a lower resolution in anticipation of bigger letters while it doesn't work... Letters just display as small while the bottom & right part of the screen is abandoned... how can i get it right just as OpenOS prompt do? thx:)

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try with these:


component.gpu.setResolution(width: number, height: number)

A, B = component.screen.getAspectRatio()



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.